This commit is contained in:
parent
484adb607f
commit
ab9a962f58
@ -58,8 +58,12 @@ export async function command(params: {
|
|||||||
commandOutput = "";
|
commandOutput = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (["docker", "podman"].includes(commandOutput.toLowerCase())) {
|
commandOutput = commandOutput.trim().toLowerCase();
|
||||||
break exit_if_docker_not_installed;
|
|
||||||
|
for (const term of ["docker", "podman"]) {
|
||||||
|
if (commandOutput.includes(term)) {
|
||||||
|
break exit_if_docker_not_installed;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user