mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #29145 from Microsoft/jjh/make
Windows: make.ps1 Throw exception on failure
This commit is contained in:
commit
080d7a5543
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