Skip to content

Commit

Permalink
fix: output report is async
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Apr 30, 2019
1 parent 78d79aa commit 0ff51d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/c8.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ let argv = buildYargs().parse(instrumenterArgs)
}

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

0 comments on commit 0ff51d3

Please sign in to comment.