Skip to content

Commit

Permalink
Update core/deployment/src/main/java/io/quarkus/deployment/ide/IdePro…
Browse files Browse the repository at this point in the history
…cessor.java

Co-authored-by: George Gastaldi <[email protected]>
  • Loading branch information
geoand and gastaldi authored Jan 27, 2023
1 parent 33ea96c commit 5089c50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public EffectiveIdeBuildItem effectiveIde(LaunchModeBuildItem launchModeBuildIte
}
if (matches.size() == 1) {
result = matches.get(0);
} else if ((matches.size() == 0 && runningIdes.size() > 0) || matches.size() > 1) {
} else if (matches.size() > 1 || runningIdes.size() > 0) {
result = runningIdes.iterator().next();
}
}
Expand Down

0 comments on commit 5089c50

Please sign in to comment.