diff --git a/bin/now-alias b/bin/now-alias index ce1ac30..32437ce 100755 --- a/bin/now-alias +++ b/bin/now-alias @@ -84,6 +84,7 @@ if (argv.help || !subcommand) { .then(async (token) => { try { await run(token); + exit(0); } catch (err) { if (err.userError) { error(err.message); @@ -160,8 +161,6 @@ async function run (token) { exit(1); } } - - exit(0); } async function sort (aliases) {