Skip to content

Commit

Permalink
Fix executable check
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy committed Dec 4, 2024
1 parent 60e7743 commit 5ddf46e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public BundledResolver(Resolver fallbackResolver) {
public Path resolve(String version) throws IOException {
final Path path = getLocation(version);
final Path executablePath = resolveExecutablePath(path);
if (Files.isExecutable(path)) {
if (Files.isExecutable(executablePath)) {
return executablePath;
}

Expand Down

0 comments on commit 5ddf46e

Please sign in to comment.