This commit is contained in:
Sampark Sharma
2022-12-06 11:52:46 +00:00
committed by GitHub
parent 1dae855746
commit c0085d7739

View File

@@ -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