Skip to content

Commit ffe9752

Browse files
authored
Merge pull request #526 from maxisam/fix/issue-525
fix: avoid add quote for "on"
2 parents 81d78f1 + aaba90e commit ffe9752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const YAMLParser = {
3434
return validateContent<T>(YAML.load(readFile(filePath)) as T, Format.YAML)
3535
},
3636
dump<T extends ContentNode>(content: T): string {
37-
return YAML.dump(content, {lineWidth: -1})
37+
return YAML.dump(content, {lineWidth: -1, noCompatMode: true})
3838
}
3939
}
4040

0 commit comments

Comments
 (0)