Skip to content

Commit c8d1ade

Browse files
Marius StorhaugCopilot
authored andcommitted
Fix spelling in test error message
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 38ac1f1 commit c8d1ade

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/Publish-PSModule/tests/Publish-PSModule.Recovery.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Describe 'Publish-PSModule recovery' {
122122

123123
# A transient Gallery failure carries a different error ID and must not be mistaken for
124124
# 'version not published', otherwise an already-published version would be re-uploaded.
125-
Write-Error -Message "Error occured while trying to find '$Name' '$Version' in repository '$Repository': Service Unavailable" `
125+
Write-Error -Message "Failed to find '$Name' '$Version' in repository '$Repository': Service Unavailable" `
126126
-ErrorId 'HttpRequestCallFailure' -Category ResourceUnavailable -TargetObject $Name
127127
}
128128

0 commit comments

Comments
 (0)