Merge pull request #29145 from Microsoft/jjh/make

Windows: make.ps1 Throw exception on failure
This commit is contained in:
Sebastiaan van Stijn 2016-12-06 12:10:56 +01:00 committed by GitHub
commit 080d7a5543
1 changed files with 2 additions and 0 deletions

View File

@ -394,6 +394,8 @@ Catch [Exception] {
Write-Host -ForegroundColor Red " \___ / (____ /__`|____/\___ `>____ `| "
Write-Host -ForegroundColor Red " \/ \/ \/ \/ "
Write-Host
Throw $_
}
Finally {
if ($global:pushed) { Pop-Location }