Skip to content

Commit

Permalink
Merge pull request #125 from ia3andy/fix-check
Browse files Browse the repository at this point in the history
Fix executable check
  • Loading branch information
ia3andy authored Dec 4, 2024
2 parents 60e7743 + 5ddf46e commit abdb4d3
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 abdb4d3

Please sign in to comment.