Skip to content

Commit

Permalink
Merge pull request #35 from Lombiq/issue/OSOE-560
Browse files Browse the repository at this point in the history
OSOE-560: Replace Write-Error with Write-Warning when retrying in Invoke-Analyzer.ps1
  • Loading branch information
DemeSzabolcs authored Nov 14, 2023
2 parents ec4d788 + ccaeebd commit 91c7b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lombiq.Analyzers.PowerShell/Invoke-Analyzer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ $results = Find-Recursively -IncludeFile '*.ps1', '*.psm1', '*.psd1' -ExcludeDir
}
else
{
Write-Error "Retry #$($retryCount + 1): An exception occurred: $_. Retrying..."
Write-Warning "Retry #$($retryCount + 1): An exception occurred: $_. Retrying..."
}
}
}
Expand Down

0 comments on commit 91c7b1e

Please sign in to comment.