Skip to content

Commit

Permalink
Fix opening in IDE when more than IDE is running
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Jan 27, 2023
1 parent 1c12f86 commit 33ea96c
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) {
} else if ((matches.size() == 0 && runningIdes.size() > 0) || matches.size() > 1) {
result = runningIdes.iterator().next();
}
}
Expand Down

0 comments on commit 33ea96c

Please sign in to comment.