mirror of https://github.com/actions/toolkit
Address review comments
parent
4679d0cfe6
commit
59285b8b01
|
@ -77,7 +77,7 @@ export function getCacheVersion(
|
|||
enableCrossOsArchive = false
|
||||
): string {
|
||||
const components = paths
|
||||
.concat([!compressionMethod ? '' : compressionMethod])
|
||||
.concat(!compressionMethod ? [] : [compressionMethod])
|
||||
.concat(
|
||||
process.platform !== 'win32' || enableCrossOsArchive
|
||||
? []
|
||||
|
|
Loading…
Reference in New Issue