1
0
Fork 0

Address review comments

pull/1291/head
Sampark Sharma 2023-01-03 11:23:41 +00:00 committed by GitHub
parent 4679d0cfe6
commit 59285b8b01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ export function getCacheVersion(
enableCrossOsArchive = false enableCrossOsArchive = false
): string { ): string {
const components = paths const components = paths
.concat([!compressionMethod ? '' : compressionMethod]) .concat(!compressionMethod ? [] : [compressionMethod])
.concat( .concat(
process.platform !== 'win32' || enableCrossOsArchive process.platform !== 'win32' || enableCrossOsArchive
? [] ? []