File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -242,12 +242,10 @@ const validate = (bsConfig, args) => {
242
242
}
243
243
244
244
if ( ! Utils . isUndefined ( bsConfig . run_settings [ "record" ] ) && String ( bsConfig . run_settings [ "record" ] ) == 'true' ) {
245
- if ( Utils . isUndefined ( bsConfig . run_settings . projectId ) && Utils . isUndefined ( bsConfig . run_settings [ "record-key" ] ) ) {
245
+ if ( Utils . isUndefined ( bsConfig . run_settings . projectId ) ) {
246
246
logger . warn ( Constants . validationMessages . PROJECT_ID_MISSING ) ;
247
- logger . warn ( Constants . validationMessages . RECORD_KEY_MISSING ) ;
248
- } else if ( Utils . isUndefined ( bsConfig . run_settings . projectId ) ) {
249
- logger . warn ( Constants . validationMessages . PROJECT_ID_MISSING ) ;
250
- } else if ( Utils . isUndefined ( bsConfig . run_settings [ "record-key" ] ) ) {
247
+ }
248
+ if ( Utils . isUndefined ( bsConfig . run_settings [ "record-key" ] ) ) {
251
249
logger . warn ( Constants . validationMessages . RECORD_KEY_MISSING ) ;
252
250
}
253
251
}
You can’t perform that action at this time.
0 commit comments