1
0
Fork 0

Merge pull request #1378 from MSP-Greg/00-cache-paths-dup

cache - getCacheVersion - dup paths array
pull/1622/head
Rob Herley 2024-01-10 17:01:51 -05:00 committed by GitHub
commit cab491a426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,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