Skip to content

Commit 253be28

Browse files
committed
ci(windows): avoid overwriting 24292 in diagnostics (use )
1 parent 46e5e34 commit 253be28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/unittest-windows-debug.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ jobs:
9393
$errFile = Join-Path $env:RUNNER_TEMP 'redis.stderr.log'
9494
$pidFile = Join-Path $env:RUNNER_TEMP 'redis.pid'
9595
if (Test-Path $pidFile) {
96-
$pid = (Get-Content $pidFile -ErrorAction SilentlyContinue).Trim()
97-
Write-Host "Redis pid (from file): $pid"
98-
try { Get-Process -Id $pid -ErrorAction SilentlyContinue | Format-Table -AutoSize } catch {}
96+
$redisPid = (Get-Content $pidFile -ErrorAction SilentlyContinue).Trim()
97+
Write-Host "Redis pid (from file): $redisPid"
98+
try { Get-Process -Id $redisPid -ErrorAction SilentlyContinue | Format-Table -AutoSize } catch {}
9999
} else {
100100
Write-Host "Redis pid file not found: $pidFile"
101101
}

0 commit comments

Comments
 (0)