build: 移除构建失败时的冗余错误提示
This commit is contained in:
parent
2a9d2b7f5f
commit
9afc1caac7
@ -129,8 +129,6 @@ Write-Host ("windows-release: " + ($(if ($winProc.ExitCode -eq 0) { 'Success' }
|
||||
Write-Host ("linux-release: " + ($(if ($linProc.ExitCode -eq 0) { 'Success' } else { 'Failed' })))
|
||||
|
||||
if (($winProc.ExitCode -ne 0) -or ($linProc.ExitCode -ne 0)) {
|
||||
Write-Host ""
|
||||
Write-Host "One or more tasks failed." -ForegroundColor Red
|
||||
Remove-Item $winLogOut, $winLogErr, $linLogOut, $linLogErr -Force
|
||||
exit 1
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user