mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-04 01:47:15 +08:00
Address review comments
This commit is contained in:
@@ -77,7 +77,7 @@ export function getCacheVersion(
|
||||
enableCrossOsArchive = false
|
||||
): string {
|
||||
const components = paths
|
||||
.concat([!compressionMethod ? '' : compressionMethod])
|
||||
.concat(!compressionMethod ? [] : [compressionMethod])
|
||||
.concat(
|
||||
process.platform !== 'win32' || enableCrossOsArchive
|
||||
? []
|
||||
|
||||
Reference in New Issue
Block a user