Skip to content
This repository was archived by the owner on Dec 18, 2019. It is now read-only.

Commit f66b77c

Browse files
committed
Reporter: mkdir is now synchronous.
Having it asynchronous causes an issue when opening the `index.html` stream just after.
1 parent 8b972df commit f66b77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reporter/html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function emptyFunction() {}
2121

2222
function config(options) {
2323
outputDirectory = options.outputDirectory;
24-
mkdirp(outputDirectory);
24+
mkdirp.sync(outputDirectory);
2525
indexStream = fs.createWriteStream(
2626
outputDirectory + '/index.html',
2727
{

0 commit comments

Comments
 (0)