Comparing version 6.1.0 to 6.1.1
## Change Log | ||
### v6.1.1 (2016/03/13 14:23 +7:00) | ||
- [#194](https://github.com/bcoe/nyc/pull/194) hot-fix for --all with multiple extensions (@bcoe) | ||
### v6.1.0 (2016/03/12 15:00 +7:00) | ||
@@ -4,0 +8,0 @@ |
@@ -199,3 +199,9 @@ /* global __coverage__ */ | ||
var pattern = '**/*{' + this.extensions.join() + '}' | ||
var pattern = null | ||
if (this.extensions.length === 1) { | ||
pattern = '**/*' + this.extensions[0] | ||
} else { | ||
pattern = '**/*{' + this.extensions.join() + '}' | ||
} | ||
glob.sync(pattern, {cwd: this.cwd, nodir: true, ignore: this.exclude}).forEach(function (filename) { | ||
@@ -202,0 +208,0 @@ var obj = _this.addFile(path.join(_this.cwd, filename)) |
{ | ||
"name": "nyc", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "a code coverage tool that works well with subprocesses.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
40279
673