Skip to content

Commit efcb0da

Browse files
committed
resolved comments
1 parent 2081082 commit efcb0da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/helpers/capabilityHelper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ const validate = (bsConfig, args) => {
242242
}
243243

244244
if(!Utils.isUndefined(bsConfig.run_settings["record"]) && String(bsConfig.run_settings["record"]) == 'true') {
245-
if(Utils.isUndefined(bsConfig.run_settings.projectId)) {
245+
if(Utils.isUndefined(bsConfig.run_settings.projectId) || bsConfig.run_settings.projectId == "" ) {
246246
logger.warn(Constants.validationMessages.PROJECT_ID_MISSING);
247247
}
248-
if (Utils.isUndefined(bsConfig.run_settings["record-key"])) {
248+
if (Utils.isUndefined(bsConfig.run_settings["record-key"]) || bsConfig.run_settings["record-key"] == "" ) {
249249
logger.warn(Constants.validationMessages.RECORD_KEY_MISSING);
250250
}
251251
}

0 commit comments

Comments
 (0)