From eb887363de242b51aa83b8d0748f966d2df672c0 Mon Sep 17 00:00:00 2001 From: calebboyd Date: Tue, 6 Aug 2019 14:57:24 -0500 Subject: [PATCH] fix(build): fix ci task execa types --- tasks/docker.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/docker.ts b/tasks/docker.ts index a909f49..2be1780 100644 --- a/tasks/docker.ts +++ b/tasks/docker.ts @@ -46,10 +46,10 @@ export async function runDockerBuild(target: NexeTarget) { let output: any = [] try { - output.push(await execa.shell(`docker build -t nexe-docker .`)) - output.push(await execa.shell(`docker run -d --name nexe nexe-docker sh`)) - output.push(await execa.shell(`docker cp nexe:/out out`)) - output.push(await execa.shell(`docker rm nexe`)) + output.push(await execa(`docker build -t nexe-docker .`, { shell: true })) + output.push(await execa(`docker run -d --name nexe nexe-docker sh`, { shell: true })) + output.push(await execa(`docker cp nexe:/out out`, { shell: true })) + output.push(await execa(`docker rm nexe`, { shell: true })) } catch (e) { console.log('Error running docker') appendFileSync(outFilename, e.message)