Update common.ts

This commit is contained in:
Andras Bacsai 2022-12-27 14:20:19 +01:00 committed by GitHub
parent 1122b8a2f7
commit 2c2663c8a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -651,13 +651,11 @@ export async function executeCommand({
} else {
if (shell) {
return await execaCommand(command, {
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine },
shell: true
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }
});
} else {
return await execa(dockerCommand, dockerArgs, {
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine },
shell: false
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }
});
}
}