Skip to content

Commit 0982ffa

Browse files
author
Archish Thakkar
authored
Merge pull request #571 from browserstack/AFD-2214-missing-cypress-fix
fix missing cypress issue
2 parents 56dc4ed + f6facdb commit 0982ffa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bin/commands/runs.js

+3
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ module.exports = function run(args, rawArgs) {
102102
// set the no-wrap
103103
utils.setNoWrap(bsConfig, args);
104104

105+
// add cypress dependency if missing
106+
utils.setCypressNpmDependency(bsConfig);
107+
105108
const { packagesInstalled } = await packageInstaller.packageSetupAndInstaller(bsConfig, config.packageDirName, {markBlockStart, markBlockEnd});
106109

107110
// set build tag caps

bin/helpers/checkUploaded.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const checkUploadedMd5 = (bsConfig, args, instrumentBlocks) => {
8686
zipUrlPresent: false,
8787
packageUrlPresent: false,
8888
};
89-
utils.setCypressNpmDependency(bsConfig);
89+
9090
if (args["force-upload"]) {
9191
logger.debug("force-upload set to true. Uploading tests and npm packages.");
9292
return resolve(obj);

0 commit comments

Comments
 (0)