1
0
Fork 0

cache - getCacheVersion - dup paths array

pull/1378/head
MSP-Greg 2023-03-20 18:28:00 -05:00
parent 457303960f
commit 0747ab3577
No known key found for this signature in database
GPG Key ID: D688DA4A77D8FA18
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,8 @@ export function getCacheVersion(
compressionMethod?: CompressionMethod, compressionMethod?: CompressionMethod,
enableCrossOsArchive = false enableCrossOsArchive = false
): string { ): string {
const components = paths // don't pass changes upstream
const components = paths.slice()
// 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