From 9df98e65f842cf3acae09cbdd969966f42d64469 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 14 Oct 2017 18:40:54 +0200 Subject: update dependencies --- node_modules/nyc/bin/nyc.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'node_modules/nyc/bin') diff --git a/node_modules/nyc/bin/nyc.js b/node_modules/nyc/bin/nyc.js index 26bedddf8..d2d837d9c 100755 --- a/node_modules/nyc/bin/nyc.js +++ b/node_modules/nyc/bin/nyc.js @@ -38,7 +38,11 @@ if (argv._[0] === 'report') { else config.instrumenter = './lib/instrumenters/istanbul' var nyc = (new NYC(config)) - if (config.clean) nyc.reset() + if (config.clean) { + nyc.reset() + } else { + nyc.createTempDirectory() + } if (config.all) nyc.addAllFiles() var env = { -- cgit v1.2.3