Skip to content

Commit

Permalink
Function yaml.safeDump is removed in js-yaml 4
Browse files Browse the repository at this point in the history
  • Loading branch information
xurizaemon committed Jul 23, 2023
1 parent 6c208a9 commit a7a566b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legacy/yaml.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = class Yaml {
// Remove any properties that might be bad and dump
data = JSON.parse(JSON.stringify(data));
// And dump
fs.writeFileSync(file, yaml.safeDump(data));
fs.writeFileSync(file, yaml.dump(data));
// Log and return filename
return file;
}
Expand Down

0 comments on commit a7a566b

Please sign in to comment.