fix: uncatched promise errors are loudly rejected

Ref #353
This commit is contained in:
Zoltan Kochan
2016-09-07 22:13:05 +03:00
parent 5ace1dc7dc
commit 9040567d16
2 changed files with 2 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ if (~process.argv.indexOf('--debug')) {
process.argv.push('--quiet')
}
require('loud-rejection')()
const rc = require('rc')
const camelcaseKeys = require('camelcase-keys')
const spawnSync = require('cross-spawn').sync

View File

@@ -30,6 +30,7 @@
"is-retry-allowed": "1.1.0",
"json2yaml": "1.1.0",
"lockfile": "1.0.1",
"loud-rejection": "1.6.0",
"meow": "3.7.0",
"mkdirp": "0.5.1",
"mz": "2.4.0",