|
|
@ -36678,7 +36678,7 @@ function getTarArgs(tarPath, compressionMethod, type, archivePath = '') {
|
|
|
|
// Method specific args
|
|
|
|
// Method specific args
|
|
|
|
switch (type) {
|
|
|
|
switch (type) {
|
|
|
|
case 'create':
|
|
|
|
case 'create':
|
|
|
|
args.push('--posix', '-cf', BSD_TAR_ZSTD
|
|
|
|
args.push('--posix', '--remove-files', '-cf', BSD_TAR_ZSTD
|
|
|
|
? tarFile
|
|
|
|
? tarFile
|
|
|
|
: cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'), '--exclude', BSD_TAR_ZSTD
|
|
|
|
: cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'), '--exclude', BSD_TAR_ZSTD
|
|
|
|
? tarFile
|
|
|
|
? tarFile
|
|
|
|