diff --git a/index.js b/index.js index c672aa7..dc546b5 100644 --- a/index.js +++ b/index.js @@ -68,6 +68,9 @@ class Installer { extract.stopWorkers() this.runTime = Date.now() - this.startTime return this + }, e => { + extract.stopWorkers() + throw e }) }