|
@ -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) { |
|
|