Skip to content

Commit

Permalink
Merge pull request quarkusio#25004 from radcortez/fix-24878
Browse files Browse the repository at this point in the history
Use correct method to report unknown properties
  • Loading branch information
geoand authored Apr 20, 2022
2 parents 64f0bf8 + c6679c2 commit 955ba30
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,7 @@ private static void reportUnknownBuildProperties(LaunchMode launchMode, Set<Stri
// So it only reports during the build, because it is very likely that the property is available in runtime
// and, it will be caught by the RuntimeConfig and log double warnings
if (!launchMode.isDevOrTest()) {
for (String unknownProperty : unknownBuildProperties) {
ConfigDiagnostic.unknown(unknownProperty);
}
ConfigDiagnostic.unknownProperties(new ArrayList<>(unknownBuildProperties));
}
}

Expand Down

0 comments on commit 955ba30

Please sign in to comment.