Skip to content

Commit 8d07e18

Browse files
authored
fix(docs): remove '---\n' prefix from toYaml config example generator (#18502)
fix: remove '---\n' prefix from toYaml config example generator
1 parent 712a210 commit 8d07e18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/scripts/create-config-examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const toToml = (obj) => {
9999

100100
// Convert object to YAML string
101101
const toYaml = (obj) => {
102-
return `---\n${YAML.stringify(obj)}`;
102+
return `${YAML.stringify(obj)}`;
103103
}
104104

105105
// Convert object to JSON string (indented)

0 commit comments

Comments
 (0)