Skip to content

Commit 1034aae

Browse files
Aiqiao YanAiqiao Yan
Aiqiao Yan
authored and
Aiqiao Yan
committed
Testing fix for a bug in the cache package
1 parent bcc23b9 commit 1034aae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/restore/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ function getVersion(app) {
10771077
// Use zstandard if possible to maximize cache performance
10781078
function getCompressionMethod() {
10791079
return __awaiter(this, void 0, void 0, function* () {
1080-
if (process.platform === 'win32' && !isGnuTarInstalled()) {
1080+
if (process.platform === 'win32' && !(yield isGnuTarInstalled())) {
10811081
// Disable zstd due to bug https://github.com/actions/cache/issues/301
10821082
return constants_1.CompressionMethod.Gzip;
10831083
}

dist/save/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ function getVersion(app) {
10771077
// Use zstandard if possible to maximize cache performance
10781078
function getCompressionMethod() {
10791079
return __awaiter(this, void 0, void 0, function* () {
1080-
if (process.platform === 'win32' && !isGnuTarInstalled()) {
1080+
if (process.platform === 'win32' && !(yield isGnuTarInstalled())) {
10811081
// Disable zstd due to bug https://github.com/actions/cache/issues/301
10821082
return constants_1.CompressionMethod.Gzip;
10831083
}

0 commit comments

Comments
 (0)