disable --force_local on windows

pull/367/head
Gordon MacPherson 5 years ago
parent eed9cfe64d
commit 7d0857fb6f

@ -5186,13 +5186,13 @@ function getTarPath(args, compressionMethod) {
if (compressionMethod !== constants_1.CompressionMethod.Gzip) {
// We only use zstandard compression on windows when gnu tar is installed due to
// a bug with compressing large files with bsdtar + zstd
args.push('--force-local');
//args.push('--force-local');
}
else if (fs_1.existsSync(systemTar)) {
return systemTar;
}
else if (yield utils.isGnuTarInstalled()) {
args.push('--force-local');
// args.push('--force-local');
}
}
return yield io.which('tar', true);
@ -7532,4 +7532,4 @@ exports.exec = exec;
/***/ })
/******/ });
/******/ });

Loading…
Cancel
Save