Browse Source

now-alias: close socket gracefully

master
Guillermo Rauch 9 years ago
parent
commit
62bacc5968
  1. 3
      bin/now-alias

3
bin/now-alias

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

Loading…
Cancel
Save