Add windows bsdtar test

This commit is contained in:
Sampark Sharma
2022-11-21 12:19:44 +00:00
committed by GitHub
parent 54eb9b8055
commit 32b95825ba
2 changed files with 45 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ async function getCompressionProgram(
]
case CompressionMethod.ZstdWithoutLong:
if (BSD_TAR_WINDOWS) {
return ['a'] // auto-detect compression
return ['-a'] // auto-detect compression
}
return ['--use-compress-program', IS_WINDOWS ? 'zstd -d' : 'unzstd']
default: