From d92decd29c6482c3b1677e475edd6183f97d8c86 Mon Sep 17 00:00:00 2001 From: Wayne Beaton Date: Fri, 27 Sep 2024 15:39:25 -0400 Subject: [PATCH] Use non-deprecated constructor --- .../eclipse/dash/licenses/cli/PnpmPackageLockFileReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/eclipse/dash/licenses/cli/PnpmPackageLockFileReader.java b/core/src/main/java/org/eclipse/dash/licenses/cli/PnpmPackageLockFileReader.java index 4c6ce3b4..303e9aa8 100644 --- a/core/src/main/java/org/eclipse/dash/licenses/cli/PnpmPackageLockFileReader.java +++ b/core/src/main/java/org/eclipse/dash/licenses/cli/PnpmPackageLockFileReader.java @@ -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()); } }