diff --git a/cli.js b/cli.js index a137f1d..65ba2f3 100755 --- a/cli.js +++ b/cli.js @@ -35,7 +35,6 @@ if (!lifecycleEvent) { scriptsWin: loadOption('windowsPath') } }, function (er, code) { - if (er) { throw er } - process.exit(code) + process.exitCode = code }) }