diff --git a/packages/shipjs/bin/shipjs b/packages/shipjs/bin/shipjs index 047eb383..34b1adc7 100755 --- a/packages/shipjs/bin/shipjs +++ b/packages/shipjs/bin/shipjs @@ -2,5 +2,10 @@ require = require('esm')(module /*, options*/); (async function() { - await require('../src/cli').cli(process.argv); + try { + await require('../src/cli').cli(process.argv); + } catch (e) { + console.error(e); + process.exit(1); + } })();