File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,9 +164,9 @@ const validate = (bsConfig, args) => {
164
164
165
165
if ( Utils . searchForOption ( '--async' ) && ( ! Utils . isUndefined ( args . async ) && bsConfig [ "connection_settings" ] [ "local" ] ) ) reject ( Constants . validationMessages . INVALID_LOCAL_ASYNC_ARGS ) ;
166
166
167
- if ( bsConfig . run_settings . userProvidedGeoLocation && ! bsConfig . run_settings . geolocation . match ( / ^ [ A - Z ] { 2 } $ / g) ) reject ( Constants . validationMessages . INVALID_GEO_LOCATION ) ;
167
+ if ( bsConfig . run_settings . userProvidedGeolocation && ! bsConfig . run_settings . geolocation . match ( / ^ [ A - Z ] { 2 } $ / g) ) reject ( Constants . validationMessages . INVALID_GEO_LOCATION ) ;
168
168
169
- if ( bsConfig [ "connection_settings" ] [ "local" ] && bsConfig . run_settings . userProvidedGeoLocation ) reject ( Constants . validationMessages . NOT_ALLOWED_GEO_LOCATION_AND_LOCAL_MODE ) ;
169
+ if ( bsConfig [ "connection_settings" ] [ "local" ] && bsConfig . run_settings . userProvidedGeolocation ) reject ( Constants . validationMessages . NOT_ALLOWED_GEO_LOCATION_AND_LOCAL_MODE ) ;
170
170
171
171
// validate if config file provided exists or not when cypress_config_file provided
172
172
// validate the cypressProjectDir key otherwise.
You can’t perform that action at this time.
0 commit comments