1
0
Fork 0

Fix tests

pull/1291/head
Sampark Sharma 2023-01-03 12:03:12 +00:00 committed by GitHub
parent 115a496d6b
commit 4c28313b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ test('getCacheVersion with enableCrossOsArchive as false returns version on wind
const result = getCacheVersion(paths) const result = getCacheVersion(paths)
expect(result).toEqual( expect(result).toEqual(
'eaba4356cfc2107bac38279c46571b074aac575cbd3e0bae72c7dc9dff1132d7' '2db19d6596dc34f51f0043120148827a264863f5c6ac857569c2af7119bad14e'
) )
} }
}) })

View File

@ -78,7 +78,7 @@ export function getCacheVersion(
): string { ): string {
const components = paths const components = paths
// Add compression method to cache version to restore // Add compression method to cache version to restore
// compressed cache as per compression method // compressed cache as per compression method
if (compressionMethod) { if (compressionMethod) {
components.push(compressionMethod) components.push(compressionMethod)