Skip to content

Commit

Permalink
cache - getCacheVersion - dup paths array
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Mar 20, 2023
1 parent 4573039 commit 0747ab3
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 @@ -76,7 +76,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 0747ab3

Please sign in to comment.