Skip to content

Commit 0872324

Browse files
authored
fix: spelling error when retrieving github release returns an error (#353)
# Pull Request ## Issue Issue #, if available: ## Description replace "transient" with "transient" in the message displayed when fetching the GitHub release returns an error ## License By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.
1 parent 86469e5 commit 0872324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ALZ/Private/Shared/Get-GithubRelease.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function Get-GithubRelease {
7373

7474
# Handle transient errors like throttling
7575
if($statusCode -ge 400 -and $statusCode -le 599) {
76-
Write-InformationColored "Retrying as got the Status Code $statusCode, which may be a tranisent error." -ForegroundColor Yellow -InformationAction Continue
76+
Write-InformationColored "Retrying as got the Status Code $statusCode, which may be a transient error." -ForegroundColor Yellow -InformationAction Continue
7777
$releaseData = Invoke-RestMethod $repoReleaseUrl -RetryIntervalSec 3 -MaximumRetryCount 100
7878
}
7979

0 commit comments

Comments
 (0)