diff --git a/index.js b/index.js index 50825f9..44e444c 100644 --- a/index.js +++ b/index.js @@ -114,7 +114,11 @@ Promise.resolve() }) } }) - .catch(error) + .catch(err => { + error(err) + + process.exit(1) + }) function rc(ctx, path) { if (argv.use) return Promise.resolve()