Skip to content

Commit 712977f

Browse files
committed
Fix istanbul exiting error introduced in #47
1 parent 8b865d9 commit 712977f

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)