Fix tests

This commit is contained in:
Sampark Sharma authored and GitHub committed 2022-11-08 06:43:28 +00:00
1 parent 802b275be8
commit cc292001eb
3 files changed
+6 -3

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ async function getTarPath(
const systemTar = `${process.env['windir']}\\System32\\tar.exe`
const gnuTar = `${process.env['windir']}\\Program Files\\Git\\usr\\bin\\tar.exe`
if (existsSync(gnuTar)) {
// Making GNUtar + zstd as default on windows
args.push('--force-local')
return gnuTar
} else if (compressionMethod !== CompressionMethod.Gzip) {