Use doc.toString rather than yaml.stringify

This commit is contained in:
Michael B. Gale
2026-03-09 13:46:39 +00:00
parent 639dddc728
commit 25599b3fc8
+1 -1
View File
@@ -201,7 +201,7 @@ export function updateTemplateFiles(
if (modified || options.force) {
fs.writeFileSync(
filePath,
yaml.stringify(doc, { lineWidth: 0, flowCollectionPadding: false }),
doc.toString({ lineWidth: 0, flowCollectionPadding: false }),
"utf8",
);
modifiedFiles.push(filePath);