From 39dcae6da226805d925f5fedfa4e6ad602ae0bf2 Mon Sep 17 00:00:00 2001 From: Andy Staples Date: Wed, 29 Jan 2025 13:35:04 -0700 Subject: [PATCH] Continue if local nuget not exists --- test/e2e/Tests/build-e2e-test.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/Tests/build-e2e-test.ps1 b/test/e2e/Tests/build-e2e-test.ps1 index 37dbb8cc2..7f11f1423 100644 --- a/test/e2e/Tests/build-e2e-test.ps1 +++ b/test/e2e/Tests/build-e2e-test.ps1 @@ -131,7 +131,7 @@ $files | ForEach-Object { $webJobsExtensionVersion = $_.Name -replace 'Microsoft.Azure.WebJobs.Extensions.DurableTask\.|\.nupkg' Write-Host "Removing cached version $webJobsExtensionVersion of WebJobs extension from nuget cache, if exists" - $cachedVersionFolders = Get-ChildItem -Path (Join-Path $LocalNugetCacheDirectory "microsoft.azure.webjobs.extensions.durabletask") -Directory + $cachedVersionFolders = Get-ChildItem -Path (Join-Path $LocalNugetCacheDirectory "microsoft.azure.webjobs.extensions.durabletask") -Directory -ErrorAction Continue $cachedVersionFolders | ForEach-Object { if ($_.Name -eq $webJobsExtensionVersion) {