From 7d0857fb6f967722ce0f5ff1ac1001b954ee2375 Mon Sep 17 00:00:00 2001 From: Gordon MacPherson Date: Sat, 11 Jul 2020 10:33:47 +0100 Subject: [PATCH] disable --force_local on windows --- dist/restore/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/restore/index.js b/dist/restore/index.js index 00349f4..759680c 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -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; /***/ }) -/******/ }); \ No newline at end of file +/******/ });