mirror of
https://github.com/CarmJos/EasyConfiguration.git
synced 2026-06-04 10:38:19 +08:00
feat: Support standard "pre-load" option
This commit is contained in:
@@ -111,7 +111,7 @@ public class YAMLSource
|
||||
CommentedYAMLWriter writer = new CommentedYAMLWriter(
|
||||
String.valueOf(this.pathSeparator()),
|
||||
dumperOptions().getIndent(),
|
||||
holder.options().get(CommentableOptions.COMMENT_EMPTY_VALUE)
|
||||
holder.option(CommentableOptions.COMMENT_EMPTY_VALUE)
|
||||
);
|
||||
try {
|
||||
fileWriter(w -> w.write(writer.saveToString(this)));
|
||||
|
||||
Reference in New Issue
Block a user