Permalink
Browse files

Remove unnecessary try/catch from cli script

  • Loading branch information...
novemberborn committed Feb 22, 2018
1 parent b2a3b21 commit f843d2f19d241c8e1f2deebf72d6616b22518584
Showing with 1 addition and 6 deletions.
  1. +1 −6 cli.js
7 cli.js
@@ -7,10 +7,5 @@ const importLocal = require('import-local');
if (importLocal(__filename)) {
debug('Using local install of AVA');
} else {
try {
require('./lib/cli').run();
} catch (err) {
console.error(`\n ${err.message}`);
process.exit(1);
}
require('./lib/cli').run();
}

0 comments on commit f843d2f

Please sign in to comment.