Windows: make.ps1 Throw exception on failure
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
42aafe725f
commit
8c22a00b77
1 changed files with 2 additions and 0 deletions
|
@ -394,6 +394,8 @@ Catch [Exception] {
|
||||||
Write-Host -ForegroundColor Red " \___ / (____ /__`|____/\___ `>____ `| "
|
Write-Host -ForegroundColor Red " \___ / (____ /__`|____/\___ `>____ `| "
|
||||||
Write-Host -ForegroundColor Red " \/ \/ \/ \/ "
|
Write-Host -ForegroundColor Red " \/ \/ \/ \/ "
|
||||||
Write-Host
|
Write-Host
|
||||||
|
|
||||||
|
Throw $_
|
||||||
}
|
}
|
||||||
Finally {
|
Finally {
|
||||||
if ($global:pushed) { Pop-Location }
|
if ($global:pushed) { Pop-Location }
|
||||||
|
|
Loading…
Reference in a new issue