Skip to content

Commit 6760a2e

Browse files
committed
[merge] Manual merge of #135 since the fork no longer exists. Fixes #135
1 parent ddd9588 commit 6760a2e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bin/vows

+2-3
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,11 @@ if (args.length === 0 || options.watch) {
196196
msg('bin', 'discovered', "./" + testFolder);
197197
if (args.length === 0) {
198198
args = paths(testFolder).filter(function (f) {
199-
return new(RegExp)('(-|_)' + testFolder + '.(js|coffee)$').test(f);
199+
return specFileExt.test(f);
200200
});
201201

202202
if (options.watch) {
203-
args = args.concat(paths('lib'),
204-
paths('src'));
203+
args = args.concat(paths('lib'), paths('src'));
205204
}
206205
}
207206
}

0 commit comments

Comments
 (0)