Skip to content

Commit

Permalink
fix: incomplete downloads in ext-tool helper
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Oct 5, 2018
1 parent 4eb549a commit 30a6eb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions garden-service/src/util/ext-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 30a6eb0

Please sign in to comment.