File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bin/testObservability/helper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -453,8 +453,8 @@ const setBrowserstackCypressCliDependency = (bsConfig) => {
453
453
typeof runSettings . npm_dependencies === 'object' ) {
454
454
if ( ! ( "browserstack-cypress-cli" in runSettings . npm_dependencies ) ) {
455
455
logger . warn ( "Missing browserstack-cypress-cli not found in npm_dependencies" ) ;
456
- runSettings . npm_dependencies [ 'browserstack-cypress-cli' ] = "latest" ;
457
- logger . warn ( `Adding browserstack-cypress-cli in npm_dependencies` ) ;
456
+ runSettings . npm_dependencies [ 'browserstack-cypress-cli' ] = exports . getAgentVersion ( ) || "latest" ;
457
+ logger . warn ( `Adding browserstack-cypress-cli version ${ runSettings . npm_dependencies [ 'browserstack-cypress-cli' ] } in npm_dependencies` ) ;
458
458
}
459
459
}
460
460
}
You can’t perform that action at this time.
0 commit comments