Skip to content

Commit

Permalink
Fix searching for executable.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlipp committed Feb 17, 2024
1 parent 49370b5 commit b5622a4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public CommandDefinition(String name, JsonNode jsonData) {
for (JsonNode path : jsonData.get("executable")) {
if (Files.isExecutable(Path.of(path.asText()))) {
command.add(path.asText());
break;
}
}
if (command.isEmpty()) {
Expand Down

0 comments on commit b5622a4

Please sign in to comment.