build/windows: Remove redundant error check on Windows deps script

This commit is contained in:
Bruno Lopes 2025-08-16 22:28:48 -03:00
parent 20d37cbe45
commit 4f6036e3e6
No known key found for this signature in database

View file

@ -98,11 +98,6 @@ function self_build ([string]$dep, [string]$unstable_branch, [string]$stable_pat
Set-Location _build-$env:MSYSTEM_PREFIX
ninja; if ("$LASTEXITCODE" -gt '0') { exit 1 }
ninja install; if ("$LASTEXITCODE" -gt '0') { exit 1 }
if ("$LASTEXITCODE" -gt '0' -or "$?" -eq 'False')
{
## We need to manually check failures in pre-7.4 PS
exit 1
}
Set-Location ../..
Write-Output "$([char]27)[0Ksection_end:$(Get-Date -UFormat %s -Millisecond 0):${dep}_build$([char]13)$([char]27)[0K"
}