Merge pull request #51 from sc-forks/istanbul-exit-bug

Fix istanbul exiting error introduced in #47
allow-exclusions
c-g-e-w-e-k-e- 8 years ago committed by GitHub
commit 9a0b76518b
  1. 4
      bin/exec.js

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

Loading…
Cancel
Save