mirror of
https://github.com/github/codeql-action.git
synced 2026-08-05 04:57:19 -05:00
Use doc.toString rather than yaml.stringify
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user