Skip to content

Commit 634788f

Browse files
authored
Merge pull request #816 from browserstack/HST-000-add-undefined-check
add undefined check for bsConfig
2 parents 2c1dce2 + 75f0b34 commit 634788f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/helpers/atsHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports.isTurboScaleSession = (bsConfig) => {
1313
return true;
1414
}
1515

16-
if (bsConfig.run_settings && bsConfig.run_settings.turboScale) {
16+
if (utils.isNotUndefined(bsConfig) && bsConfig.run_settings && bsConfig.run_settings.turboScale) {
1717
return true;
1818
}
1919

0 commit comments

Comments
 (0)