Skip to content

Commit

Permalink
tiny bug
Browse files Browse the repository at this point in the history
  • Loading branch information
salimbouch committed Apr 15, 2024
1 parent 21f708b commit 83b0904
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ protected boolean doInstall(boolean silent) {
tmpDir = fileAccess.createTempDir(getName());
Path downloadBinaryPath = tmpDir.resolve(target.getFileName());
fileAccess.extract(target, downloadBinaryPath);
downloadBinaryPath = fileAccess.findFirst(downloadBinaryPath, Files::isExecutable, false);
executable = fileAccess.findFirst(downloadBinaryPath, Files::isExecutable, false);
}
ProcessContext pc = this.context.newProcess().errorHandling(ProcessErrorHandling.WARNING).executable(executable);
int exitCode = pc.run();
Expand Down

0 comments on commit 83b0904

Please sign in to comment.