Skip to content

Commit

Permalink
no longer splittling long scalar-values accross lines
Browse files Browse the repository at this point in the history
  • Loading branch information
BlvckBytes committed Oct 20, 2024
1 parent 75faff8 commit bb08e30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/me/blvckbytes/bbconfigmapper/YamlConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ private LocateNodeResult(
DUMPER_OPTIONS.setProcessComments(true);
DUMPER_OPTIONS.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
DUMPER_OPTIONS.setAnchorGenerator(Node::getAnchor);
DUMPER_OPTIONS.setSplitLines(false);

YAML = new Yaml(new Constructor(loaderOptions), new Representer(DUMPER_OPTIONS), DUMPER_OPTIONS, loaderOptions);
}
Expand Down

0 comments on commit bb08e30

Please sign in to comment.