Skip to content

Commit

Permalink
Replace Write-Error with Write-Warning when retrying in Invoke-Analyz…
Browse files Browse the repository at this point in the history
…er.ps1
  • Loading branch information
tteguayco committed Nov 14, 2023
1 parent 3fb954a commit ccaeebd
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 ccaeebd

Please sign in to comment.