Skip to content

Commit 00ba670

Browse files
committed
ignore existing package.json as well
1 parent 0e25691 commit 00ba670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/helpers/archiver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const archiveSpecs = (runSettings, filePath) => {
3939

4040
let allowedFileTypes = [ 'js', 'json', 'txt', 'ts' ]
4141
allowedFileTypes.forEach(fileType => {
42-
archive.glob(`**/*.${fileType}`, { cwd: cypressFolderPath, matchBase: true, ignore: ['node_modules/**', 'package-lock.json'] });
42+
archive.glob(`**/*.${fileType}`, { cwd: cypressFolderPath, matchBase: true, ignore: ['node_modules/**', 'package-lock.json', 'package.json'] });
4343
});
4444
archive.append(packageJSON, { name: 'package.json' });
4545

0 commit comments

Comments
 (0)