Skip to content

Commit ca88a8d

Browse files
authored
Merge pull request #679 from sauravdas1997/OB-1893-handle-empty-dependencies
fix: Handle force expire in case of empty npm dependencies
2 parents 6abe75e + 40b3123 commit ca88a8d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bin/testObservability/helper/helper.js

-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,6 @@ const getBuildDetails = (bsConfig) => {
479479
const setBrowserstackCypressCliDependency = (bsConfig) => {
480480
const runSettings = bsConfig.run_settings;
481481
if (runSettings.npm_dependencies !== undefined &&
482-
Object.keys(runSettings.npm_dependencies).length !== 0 &&
483482
typeof runSettings.npm_dependencies === 'object') {
484483
if (!("browserstack-cypress-cli" in runSettings.npm_dependencies)) {
485484
logger.warn("Missing browserstack-cypress-cli not found in npm_dependencies");

0 commit comments

Comments
 (0)