Skip to content

Commit

Permalink
Merge 3f63bd6 into d0b132e
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed May 3, 2019
2 parents d0b132e + 3f63bd6 commit ab0a8cf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bin/c8.js
Expand Up @@ -15,7 +15,7 @@ const {
const instrumenterArgs = hideInstrumenteeArgs()
let argv = buildYargs().parse(instrumenterArgs)

;(async function run () {
async function run () {
if ([
'check-coverage', 'report'
].indexOf(argv._[0]) !== -1) {
Expand All @@ -33,4 +33,9 @@ let argv = buildYargs().parse(instrumenterArgs)
done()
})
}
})()
}

run().catch((err) => {
console.error(err.stack)
process.exitCode = 1
})

0 comments on commit ab0a8cf

Please sign in to comment.