This commit is contained in:
Joseph Garrone 2025-01-23 16:41:02 +01:00
parent 5de629acf2
commit e1f38d4196

View File

@ -53,10 +53,12 @@ export async function command(params: {
.execSync("docker --version", { .execSync("docker --version", {
stdio: ["ignore", "pipe", "ignore"] stdio: ["ignore", "pipe", "ignore"]
}) })
?.toString("utf8"); .toString("utf8");
} catch {} } catch {
commandOutput = "";
}
if (["Docker", "docker", "podman"].includes(commandOutput?)) { if (["docker", "podman"].includes(commandOutput.toLowerCase())) {
break exit_if_docker_not_installed; break exit_if_docker_not_installed;
} }