From 1034aaeec8e5087a95d7c0944fa7ad191bad6ec3 Mon Sep 17 00:00:00 2001 From: Aiqiao Yan Date: Tue, 19 May 2020 16:02:31 -0400 Subject: [PATCH] Testing fix for a bug in the cache package --- dist/restore/index.js | 2 +- dist/save/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/restore/index.js b/dist/restore/index.js index acc2527..d5387e1 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -1077,7 +1077,7 @@ function getVersion(app) { // Use zstandard if possible to maximize cache performance function getCompressionMethod() { return __awaiter(this, void 0, void 0, function* () { - if (process.platform === 'win32' && !isGnuTarInstalled()) { + if (process.platform === 'win32' && !(yield isGnuTarInstalled())) { // Disable zstd due to bug https://github.com/actions/cache/issues/301 return constants_1.CompressionMethod.Gzip; } diff --git a/dist/save/index.js b/dist/save/index.js index cac7db1..2bfc646 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -1077,7 +1077,7 @@ function getVersion(app) { // Use zstandard if possible to maximize cache performance function getCompressionMethod() { return __awaiter(this, void 0, void 0, function* () { - if (process.platform === 'win32' && !isGnuTarInstalled()) { + if (process.platform === 'win32' && !(yield isGnuTarInstalled())) { // Disable zstd due to bug https://github.com/actions/cache/issues/301 return constants_1.CompressionMethod.Gzip; }