Skip to content

Commit 9a0b765

Browse files
authored
Merge pull request #51 from sc-forks/istanbul-exit-bug
Fix istanbul exiting error introduced in #47
2 parents 8b865d9 + 712977f commit 9a0b765

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/exec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ try {
196196
istanbulReporter.add('html');
197197
istanbulReporter.add('lcov');
198198
istanbulReporter.add('text');
199-
istanbulReporter.write(istanbulCollector, true);
199+
istanbulReporter.write(istanbulCollector, true, () => {
200+
log('Istanbul coverage reports generated');
201+
});
200202
} catch (err) {
201203
if (config.testing) {
202204
cleanUp();

0 commit comments

Comments
 (0)