We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46e5e34 commit 253be28Copy full SHA for 253be28
.github/workflows/unittest-windows-debug.yml
@@ -93,9 +93,9 @@ jobs:
93
$errFile = Join-Path $env:RUNNER_TEMP 'redis.stderr.log'
94
$pidFile = Join-Path $env:RUNNER_TEMP 'redis.pid'
95
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 {}
+ $redisPid = (Get-Content $pidFile -ErrorAction SilentlyContinue).Trim()
+ Write-Host "Redis pid (from file): $redisPid"
+ try { Get-Process -Id $redisPid -ErrorAction SilentlyContinue | Format-Table -AutoSize } catch {}
99
} else {
100
Write-Host "Redis pid file not found: $pidFile"
101
}
0 commit comments