Skip to content

Commit

Permalink
Fixing the path issue for cypress config file
Browse files Browse the repository at this point in the history
  • Loading branch information
suryart committed Oct 13, 2020
1 parent 1a6bc2c commit dfd0329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/helpers/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ exports.setCypressConfigFilename = (bsConfig, args) => {

bsConfig.run_settings.userProvidedCypessConfigFile = (userProvidedCypessConfigFile || (!this.isUndefined(bsConfig.run_settings.cypress_config_file)));

if (userProvidedCypessConfigFile || this.isUndefined(bsConfig.run_settings.cypress_config_file)) {
if ((userProvidedCypessConfigFile || this.isUndefined(bsConfig.run_settings.cypress_config_file)) && !this.isUndefined(args.cypressConfigFile)) {
bsConfig.run_settings.cypress_config_file = args.cypressConfigFile;
bsConfig.run_settings.cypress_config_filename = path.basename(args.cypressConfigFile);
} else if (!this.isUndefined(bsConfig.run_settings.cypress_config_file)) {
Expand Down

0 comments on commit dfd0329

Please sign in to comment.