Fix searching for executable.

This commit is contained in:
Michael Lipp 2024-02-17 14:26:26 +01:00
parent 49370b507b
commit b5622a459c

View file

@ -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()) {