Fix searching for executable.
This commit is contained in:
parent
49370b507b
commit
b5622a459c
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ class CommandDefinition {
|
|||
for (JsonNode path : jsonData.get("executable")) {
|
||||
if (Files.isExecutable(Path.of(path.asText()))) {
|
||||
command.add(path.asText());
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (command.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue