Skip to content

Commit

Permalink
Double quote YAML strings
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-shuy authored Nov 15, 2023
1 parent d08fef6 commit ce38d81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config-merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@ if (format == "json") {
}
})
} else {
serialized = YAML.stringify(obj, options={simpleKeys: true})
serialized = YAML.stringify(obj, {
defaultStringType: 'QUOTE_DOUBLE',
simpleKeys: true
})
}

if (format == "json" || format == "toml") {
Expand Down

0 comments on commit ce38d81

Please sign in to comment.