diff --git a/src/utils/dataInterchange.ts b/src/utils/dataInterchange.ts index d05d288..f5f8f9f 100644 --- a/src/utils/dataInterchange.ts +++ b/src/utils/dataInterchange.ts @@ -33,6 +33,10 @@ export function dumpData(data: Record, space = 4, syntax = "jso } else if (syntax == "json5") { return JSON5.stringify(data, null, space); } else if (syntax == "yaml") { - return yaml.dump(data, { indent: space }); + return yaml.dump(data, { + indent: space, + quotingType: "\"", + forceQuotes: true + }); } }