diff --git a/lib/install.js b/lib/install.js index 3b1a4ac..7093ef4 100644 --- a/lib/install.js +++ b/lib/install.js @@ -18,5 +18,8 @@ bin.run(['-version']).then(() => { log.success('cwebp built successfully'); }).catch(error => { log.error(error.stack); + + // eslint-disable-next-line unicorn/no-process-exit + process.exit(1); }); });