Skip to content

Commit

Permalink
Continue if local nuget not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
andystaples committed Jan 29, 2025
1 parent 8778637 commit 39dcae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/Tests/build-e2e-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 39dcae6

Please sign in to comment.