Skip to content

Commit 92a65d4

Browse files
🩹 [Patch]: Add error handling for non-NormalView ErrorView setting
1 parent 1e8d9ba commit 92a65d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/TestWorkflow.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,12 @@ jobs:
225225
Get-Content $env:GITHUB_OUTPUT -Raw | Set-GitHubStepSummary
226226
}
227227
228+
LogGroup "ErrorView: $ErrorView" {
229+
if ($errorView -ne 'NormalView') {
230+
throw 'ErrorView is not NormalView'
231+
}
232+
}
233+
228234
- name: Run-test
229235
shell: pwsh
230236
env:

0 commit comments

Comments
 (0)