Browse Source

Move exit

master
Tony Kovanen 9 years ago
parent
commit
f10c533a61
  1. 3
      bin/now-alias

3
bin/now-alias

@ -84,6 +84,7 @@ if (argv.help || !subcommand) {
.then(async (token) => { .then(async (token) => {
try { try {
await run(token); await run(token);
exit(0);
} catch (err) { } catch (err) {
if (err.userError) { if (err.userError) {
error(err.message); error(err.message);
@ -160,8 +161,6 @@ async function run (token) {
exit(1); exit(1);
} }
} }
exit(0);
} }
async function sort (aliases) { async function sort (aliases) {

Loading…
Cancel
Save