Fix istanbul exiting error introduced in #47

pull/51/head
cgewecke 8 years ago
parent 8b865d98fd
commit 712977f125
  1. 4
      bin/exec.js

@ -196,7 +196,9 @@ try {
istanbulReporter.add('html');
istanbulReporter.add('lcov');
istanbulReporter.add('text');
istanbulReporter.write(istanbulCollector, true);
istanbulReporter.write(istanbulCollector, true, () => {
log('Istanbul coverage reports generated');
});
} catch (err) {
if (config.testing) {
cleanUp();

Loading…
Cancel
Save