Skip to content

Commit

Permalink
fixup slow cli exit time (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored and rauchg committed Feb 1, 2019
1 parent 11f64a2 commit bfe57db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ Options:
let api = false;
if (require.main === module) {
runCmd(process.argv.slice(2), process.stdout, process.stderr)
.then(() => {
process.exit()
})
.catch(e => {
if (!e.silent)
console.error(e.nccError ? e.message : e);
Expand Down

0 comments on commit bfe57db

Please sign in to comment.