We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc61af4 commit b0e970bCopy full SHA for b0e970b
lib/config.js
@@ -62,7 +62,7 @@ var formatPath = function(path) {
62
if (path.indexOf(pwd) === 0) {
63
path = path.slice(pwd.length + 1);
64
}
65
- if (!fs.existsSync(path)) {
+ if (!fs.existsSync(path) && !fs.existsSync(path.split('?')[0])) {
66
console.error('Test path: ' + path + ' is invalid.');
67
process.exit(1);
68
0 commit comments