Skip to content

Commit

Permalink
Use non-deprecated constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebeaton committed Sep 27, 2024
1 parent 4ac9d3b commit d92decd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ private static Yaml getYamlParser() {
representer.getPropertyUtils().setSkipMissingProperties(true);
LoaderOptions loaderOptions = new LoaderOptions();
SafeConstructor constructor = new SafeConstructor(loaderOptions);
return new Yaml(constructor, representer);
return new Yaml(constructor, representer, new DumperOptions());
}
}

0 comments on commit d92decd

Please sign in to comment.