Skip to content

Commit

Permalink
fix: make tmp directory regardless of clean
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed May 2, 2019
1 parent f9427de commit 44d2185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/c8.js
Expand Up @@ -23,8 +23,8 @@ let argv = buildYargs().parse(instrumenterArgs)
} else {
if (argv.clean) {
await promisify(rimraf)(argv.tempDirectory)
await promisify(fs.mkdir)(argv.tempDirectory, { recursive: true })
}
await promisify(fs.mkdir)(argv.tempDirectory, { recursive: true })

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

0 comments on commit 44d2185

Please sign in to comment.