Skip to content

Commit b0e970b

Browse files
committed
handle ? in filenames
1 parent bc61af4 commit b0e970b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ var formatPath = function(path) {
6262
if (path.indexOf(pwd) === 0) {
6363
path = path.slice(pwd.length + 1);
6464
}
65-
if (!fs.existsSync(path)) {
65+
if (!fs.existsSync(path) && !fs.existsSync(path.split('?')[0])) {
6666
console.error('Test path: ' + path + ' is invalid.');
6767
process.exit(1);
6868
}

0 commit comments

Comments
 (0)