Skip to content

Commit

Permalink
feat: foreground-child's done() method was not being called (bcoe#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore authored and bcoe committed Apr 30, 2019
1 parent 02d5927 commit fde596e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/c8.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ let argv = buildYargs().parse(instrumenterArgs)
}

process.env.NODE_V8_COVERAGE = argv.tempDirectory
foreground(hideInstrumenterArgs(argv), () => {
foreground(hideInstrumenterArgs(argv), done => {
outputReport(argv)
done()
})
}
})()

0 comments on commit fde596e

Please sign in to comment.