Skip to content

Commit 537f52e

Browse files
committed
change cypress key to cypress_proj_dir
1 parent d0ca726 commit 537f52e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bin/helpers/archiver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const archiveSpecs = (runSettings, filePath) => {
77
return new Promise(function (resolve, reject) {
88
var output = fs.createWriteStream(filePath);
99

10-
var cypressFolderPath = runSettings.cypress
10+
var cypressFolderPath = runSettings.cypress_proj_dir
1111

1212
var archive = archiver('zip', {
1313
zlib: { level: 9 } // Sets the compression level.

bin/helpers/capabilityHelper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ const validate = (bsConfig) => {
6868

6969
if (!bsConfig.run_settings) reject(Constants.validationMessages.EMPTY_RUN_SETTINGS);
7070

71-
if(!bsConfig.run_settings.cypress) reject(Constants.validationMessages.EMPTY_SPEC_FILES);
71+
if(!bsConfig.run_settings.cypress_proj_dir) reject(Constants.validationMessages.EMPTY_SPEC_FILES);
7272

73-
if(invalidFiles(bsConfig.run_settings.cypress)) reject(Constants.validationMessages.INVALID_EXTENSION);
73+
if(invalidFiles(bsConfig.run_settings.cypress_proj_dir)) reject(Constants.validationMessages.INVALID_EXTENSION);
7474

7575
resolve(Constants.validationMessages.VALIDATED);
7676
});

bin/templates/configTemplate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = function () {
1212
}
1313
],
1414
"run_settings": {
15-
"cypress" : "/path/to/cypress.json",
15+
"cypress_proj_dir" : "/path/to/cypress.json",
1616
"project": "project-name",
1717
"customBuildName": "build-name"
1818
},

0 commit comments

Comments
 (0)