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) => {
164164
165165 if ( Utils . searchForOption ( '--async' ) && ( ! Utils . isUndefined ( args . async ) && bsConfig [ "connection_settings" ] [ "local" ] ) ) reject ( Constants . validationMessages . INVALID_LOCAL_ASYNC_ARGS ) ;
166166
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 ) ;
168168
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 ) ;
170170
171171 // validate if config file provided exists or not when cypress_config_file provided
172172 // validate the cypressProjectDir key otherwise.
You can’t perform that action at this time.
0 commit comments