Skip to content

Commit da2c8c1

Browse files
Add warn message
1 parent 0263f33 commit da2c8c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/helpers/capabilityHelper.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ const validate = (bsConfig, args) => {
286286
if (!Utils.isUndefined(bsConfig.run_settings.nodeVersion) && typeof(bsConfig.run_settings.nodeVersion) === 'string' && !bsConfig.run_settings.nodeVersion.match(/^(\d+\.)?(\d+\.)?(\*|\d+)$/))
287287
logger.warn(Constants.validationMessages.NODE_VERSION_PARSING_ERROR);
288288

289+
if(!Utils.isUndefined(cypressConfigFile.port)) {
290+
logger.warn(`The requested port number ${cypressConfigFile.port} is ignored. The default BrowserStack port will be used for this execution`);
291+
}
289292
resolve(cypressConfigFile);
290293
});
291294
}

0 commit comments

Comments
 (0)