From c0085d773988fba7addf6c7f87f97b0a27d47b7f Mon Sep 17 00:00:00 2001 From: Sampark Sharma Date: Tue, 6 Dec 2022 11:52:46 +0000 Subject: [PATCH] Fix test --- packages/cache/src/cache.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cache/src/cache.ts b/packages/cache/src/cache.ts index d29eeda2..0efaecfe 100644 --- a/packages/cache/src/cache.ts +++ b/packages/cache/src/cache.ts @@ -103,8 +103,8 @@ export async function restoreCache( } } catch (error) { if ( - process.platform == 'win32' && - compressionMethod != CompressionMethod.Gzip + process.platform === 'win32' && + compressionMethod !== CompressionMethod.Gzip ) { // On windows, we will try to download the cache entry with the same key // but with different compression method. This is to support the old cache entry created