1
0
mirror of synced 2025-12-20 18:36:31 -05:00

change yaml.safeDump to yaml.dump

This commit is contained in:
Sarah Schneider
2021-06-07 15:14:53 -04:00
parent b74cc0423b
commit dbc78136c0
4 changed files with 5 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ async function main () {
if (content) {
toWrite = matter.stringify(content, newData, { lineWidth: 10000, forceQuotes: true })
} else {
toWrite = yaml.safeDump(newData, { lineWidth: 10000, forceQuotes: true })
toWrite = yaml.dump(newData, { lineWidth: 10000, forceQuotes: true })
}
fs.writeFileSync(localisedAbsPath, toWrite)