File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ exports.setCypressConfigFilename = (bsConfig, args) => {
164164
165165 bsConfig . run_settings . userProvidedCypessConfigFile = ( userProvidedCypessConfigFile || ( ! this . isUndefined ( bsConfig . run_settings . cypress_config_file ) ) ) ;
166166
167- if ( userProvidedCypessConfigFile || this . isUndefined ( bsConfig . run_settings . cypress_config_file ) ) {
167+ if ( ( userProvidedCypessConfigFile || this . isUndefined ( bsConfig . run_settings . cypress_config_file ) ) && ! this . isUndefined ( args . cypressConfigFile ) ) {
168168 bsConfig . run_settings . cypress_config_file = args . cypressConfigFile ;
169169 bsConfig . run_settings . cypress_config_filename = path . basename ( args . cypressConfigFile ) ;
170170 } else if ( ! this . isUndefined ( bsConfig . run_settings . cypress_config_file ) ) {
You can’t perform that action at this time.
0 commit comments