Skip to content

Commit adf556b

Browse files
Allocate parallels cwd bug fix
1 parent 1f9ba34 commit adf556b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/helpers/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ exports.getNumberOfSpecFiles = (bsConfig, args, cypressJson) => {
334334
let testFolderPath = cypressJson.integrationFolder || Constants.DEFAULT_CYPRESS_SPEC_PATH;
335335
let globSearchPatttern = bsConfig.run_settings.specs || `${testFolderPath}/**/*.+(${Constants.specFileTypes.join("|")})`;
336336
let ignoreFiles = args.exclude || bsConfig.run_settings.exclude;
337-
let files = glob.sync(globSearchPatttern, {cmd: bsConfig.run_settings.cypressConfigFilePath, matchBase: true, ignore: ignoreFiles});
337+
let files = glob.sync(globSearchPatttern, {cwd: bsConfig.run_settings.cypressProjectDir, matchBase: true, ignore: ignoreFiles});
338338
return files;
339339
};
340340

0 commit comments

Comments
 (0)