We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47a48f3 commit 6119063Copy full SHA for 6119063
bin/helpers/archiver.js
@@ -37,7 +37,8 @@ const archiveSpecs = (runSettings, filePath) => {
37
return new Promise(function (resolve, reject) {
38
var output = fs.createWriteStream(filePath);
39
40
- var basePath = runSettings.base_path
+ var cypressJSONPath = runSettings.cypress + "/cypress.json"
41
+ var basePath = runSettings.cypress + "/cypress/"
42
43
var archive = archiver('zip', {
44
zlib: { level: 9 } // Sets the compression level.
@@ -88,6 +89,9 @@ const archiveSpecs = (runSettings, filePath) => {
88
89
archive.file(basePath + file, { name: file });
90
});
91
92
+ // Add cypress.json
93
+ archive.file(cypressJSONPath, { name: "cypress.json" });
94
+
95
archive.finalize();
96
97
}
0 commit comments