From 518478c793728f10cc9aea23401cc5509af48cab Mon Sep 17 00:00:00 2001 From: b1ackmai1er <39449559+b1ackmai1er@users.noreply.github.com> Date: Sun, 4 Nov 2018 11:42:44 +0800 Subject: [PATCH] Fix some mangling I did t- returned to original --- Source/HBIOS/Build.ps1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/HBIOS/Build.ps1 b/Source/HBIOS/Build.ps1 index f02989dc..8bba4131 100644 --- a/Source/HBIOS/Build.ps1 +++ b/Source/HBIOS/Build.ps1 @@ -119,10 +119,7 @@ Function Asm($Component, $Opt, $Architecture=$CPUType, $Output="${Component}.bin $Cmd = "tasm -t${Architecture} -g3 ${Opt} ${Component}.asm ${Output} ${List}" $Cmd | write-host Invoke-Expression $Cmd | write-host - if ($LASTEXITCODE -gt 0) - { - throw "TASM returned exit code" + $LASTEXITCODE - } + if ($LASTEXITCODE -gt 0) {throw "TASM returned exit code $LASTEXITCODE"} } # Function to concatenate two binary files.