We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 055483d commit 77c5f45Copy full SHA for 77c5f45
src/ci/scripts/free-disk-space-windows.ps1
@@ -21,9 +21,10 @@ foreach ($dir in $dirs) {
21
}
22
23
foreach ($job in Get-Job) {
24
- Wait-Job $job
25
- # Print if any, any.
26
- Write-Output "::warning file=$PSCommandPath::$($job.Error)"
+ Wait-Job $job > $null
+ if ($job.Error) {
+ Write-Output "::warning file=$PSCommandPath::$($job.Error)"
27
+ }
28
Remove-Job $job
29
30
0 commit comments