Skip to content

Commit

Permalink
Merge pull request #526 from maxisam/fix/issue-525
Browse files Browse the repository at this point in the history
fix: avoid add quote for "on"
  • Loading branch information
fjogeleit authored Nov 17, 2022
2 parents 81d78f1 + aaba90e commit ffe9752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const YAMLParser = {
return validateContent<T>(YAML.load(readFile(filePath)) as T, Format.YAML)
},
dump<T extends ContentNode>(content: T): string {
return YAML.dump(content, {lineWidth: -1})
return YAML.dump(content, {lineWidth: -1, noCompatMode: true})
}
}

Expand Down

0 comments on commit ffe9752

Please sign in to comment.