Skip to content

Commit aa3b21f

Browse files
committed
Update
Signed-off-by: Peng Huo <penghuo@gmail.com>
1 parent e8f0277 commit aa3b21f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/org/opensearch/sql/utils/YamlFormatter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public class YamlFormatter {
2323
static {
2424
YAMLFactory yamlFactory = new YAMLFactory();
2525
yamlFactory.disable(YAMLGenerator.Feature.WRITE_DOC_START_MARKER);
26+
yamlFactory.disable(YAMLGenerator.Feature.USE_PLATFORM_LINE_BREAKS);
2627
yamlFactory.enable(YAMLGenerator.Feature.MINIMIZE_QUOTES); // Enable smart quoting
2728
yamlFactory.enable(
2829
YAMLGenerator.Feature.ALWAYS_QUOTE_NUMBERS_AS_STRINGS); // Quote numeric strings

0 commit comments

Comments
 (0)