add required block to else statement

This commit is contained in:
David Refoua 2018-03-28 21:16:27 +04:30 committed by GitHub
parent 57a28f118d
commit 3aeca3c972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,9 @@ if($Compile) {
if ($LastExitCode -ne 0) {
throw "msbuild failed to build the executable."
}
else Write-Verbose "successfully built Cmder $Version!"
else {
Write-Verbose "successfully built Cmder $Version!"
}
Pop-Location
} else {
Write-Warning "You are not building a launcher, Use -Compile"