summaryrefslogtreecommitdiff
path: root/std/encoding/toml.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/encoding/toml.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/encoding/toml.ts')
-rw-r--r--std/encoding/toml.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/encoding/toml.ts b/std/encoding/toml.ts
index 8a0715ab6..7d340c8e8 100644
--- a/std/encoding/toml.ts
+++ b/std/encoding/toml.ts
@@ -110,7 +110,7 @@ class Parser {
.join("\n")
.replace(/"""/g, '"')
.replace(/'''/g, `'`)
- .replace(/\n/g, "\\n")
+ .replace(/\n/g, "\\n"),
);
isLiteral = false;
} else {
@@ -321,7 +321,7 @@ class Parser {
this.context.currentGroup.type === "array"
) {
this.context.currentGroup.arrValues.push(
- this.context.currentGroup.objValues
+ this.context.currentGroup.objValues,
);
this.context.currentGroup.objValues = {};
}
@@ -350,7 +350,7 @@ class Parser {
if (this.context.currentGroup) {
if (this.context.currentGroup.type === "array") {
this.context.currentGroup.arrValues.push(
- this.context.currentGroup.objValues
+ this.context.currentGroup.objValues,
);
}
this._groupToOutput();