Skip to content

Commit

Permalink
try to fix potentiel bug on getProjectDeployer
Browse files Browse the repository at this point in the history
  • Loading branch information
bmscomp committed Oct 6, 2023
1 parent b6c26c3 commit 2d0ab99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static Set<String> getProjectDeployer(MavenProject project) {
return project.getDependencies().stream()
.filter(d -> QUARKUS_GROUP_ID.equals(d.getGroupId()))
.map(d -> strip(d.getArtifactId()))
.filter(n -> Arrays.stream(Deployer.values()).anyMatch(e -> false))
.filter(n -> Arrays.stream(Deployer.values()).anyMatch(e -> e.extension.equals(n)))
.collect(Collectors.toSet());
}

Expand Down

0 comments on commit 2d0ab99

Please sign in to comment.