From 712977f12530a4ff0c67cb09f4b9cd988d5a9c92 Mon Sep 17 00:00:00 2001 From: cgewecke Date: Mon, 26 Jun 2017 17:48:34 -0700 Subject: [PATCH] Fix istanbul exiting error introduced in #47 --- bin/exec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/exec.js b/bin/exec.js index c192a98..328b521 100644 --- a/bin/exec.js +++ b/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();