From 0747ab357791869a3139765f6855a25d9cc0aafc Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Mon, 20 Mar 2023 18:28:00 -0500 Subject: [PATCH] cache - getCacheVersion - dup paths array --- packages/cache/src/internal/cacheHttpClient.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cache/src/internal/cacheHttpClient.ts b/packages/cache/src/internal/cacheHttpClient.ts index e05cac58..6e1b0acf 100644 --- a/packages/cache/src/internal/cacheHttpClient.ts +++ b/packages/cache/src/internal/cacheHttpClient.ts @@ -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