From ce38d8122af9be9ad4344c0929d1e77d204162be Mon Sep 17 00:00:00 2001 From: Daniel Shuy Date: Wed, 15 Nov 2023 17:44:20 +0800 Subject: [PATCH] Double quote YAML strings --- config-merge.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config-merge.js b/config-merge.js index ee03cf8..4e6fec2 100644 --- a/config-merge.js +++ b/config-merge.js @@ -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") {