From 30a6eb0ab7250e0e32b55dfb7f95b91e76db4648 Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Fri, 5 Oct 2018 13:07:26 +0200 Subject: [PATCH] fix: incomplete downloads in ext-tool helper --- garden-service/src/util/ext-tools.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/garden-service/src/util/ext-tools.ts b/garden-service/src/util/ext-tools.ts index afdda62db9..b612ae6885 100644 --- a/garden-service/src/util/ext-tools.ts +++ b/garden-service/src/util/ext-tools.ts @@ -142,6 +142,7 @@ export class BinaryCmd extends Cmd { reject(new ParameterError(`Invalid archive format: ${format}`, { name: this.name, spec: this.spec })) } + endStream = extractor response.data.pipe(extractor) extractor.on("error", (err) => {