Skip to content

Commit

Permalink
Merge pull request #1378 from MSP-Greg/00-cache-paths-dup
Browse files Browse the repository at this point in the history
cache - getCacheVersion - dup paths array
  • Loading branch information
robherley committed Jan 10, 2024
2 parents 0389dcd + 0747ab3 commit cab491a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cache/src/internal/cacheHttpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ export function getCacheVersion(
compressionMethod?: CompressionMethod,
enableCrossOsArchive = false
): string {
const components = paths
// don't pass changes upstream
const components = paths.slice()

// Add compression method to cache version to restore
// compressed cache as per compression method
Expand Down

0 comments on commit cab491a

Please sign in to comment.