Skip to content

Commit

Permalink
Fix as proposed
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Apr 23, 2024
1 parent b491dd0 commit f9cd0df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ private static List<CoreExtension> readCoreExtensionsDescriptor(Path multiModule
private static List<CoreExtension> filterCoreExtensions(List<CoreExtension> coreExtensions) {
Set<String> exclusions = new HashSet<>();
String exclusionsString = systemProperty(Environment.MVND_CORE_EXTENSIONS_EXCLUDE)
.asOptional()
.orElse(Environment.MVND_CORE_EXTENSIONS_EXCLUDE.getDefault());
.orDefault()
.asString();
if (exclusionsString != null) {
exclusions.addAll(Arrays.stream(exclusionsString.split(","))
.filter(e -> e != null && !e.trim().isEmpty())
Expand Down

0 comments on commit f9cd0df

Please sign in to comment.