Skip to content

Commit cbbed06

Browse files
fix: initialize output variable outside try block to prevent undefined errors
Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com>
1 parent 8906b05 commit cbbed06

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
$testName = $_.Name
6969
Write-Host "Running test: $testName"
7070
71+
# Initialize output variable outside try block
72+
$output = $null
73+
7174
try {
7275
# Run the test and capture output and exit code
7376
$output = & $_.FullName 2>&1

0 commit comments

Comments
 (0)