Skip to content

Commit 344a215

Browse files
committed
Fix circular zipping: change directory archive to glob archive
1 parent 53c2954 commit 344a215

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/helpers/archiver.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ const archiveSpecs = (runSettings, filePath) => {
3535

3636
archive.pipe(output);
3737

38-
archive.directory(cypressFolderPath, false);
38+
let filesToIgnore = [ '*.zip', '*.mp4', '*.png', '*.jpeg', '^.' ]
39+
archive.glob('**/*', { ignore: filesToIgnore, cwd: cypressFolderPath });
3940

4041
archive.finalize();
4142
});

0 commit comments

Comments
 (0)