diff --git a/packages/cache/src/internal/cacheHttpClient.ts b/packages/cache/src/internal/cacheHttpClient.ts index 880ebff2..f96ca381 100644 --- a/packages/cache/src/internal/cacheHttpClient.ts +++ b/packages/cache/src/internal/cacheHttpClient.ts @@ -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