mirror of https://github.com/actions/toolkit
Address review comments
parent
4679d0cfe6
commit
59285b8b01
|
@ -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
|
||||||
? []
|
? []
|
||||||
|
|
Loading…
Reference in New Issue