fix powershell LastExitCode on windows

This commit is contained in:
Brad Rydzewski
2019-11-01 11:48:54 -07:00
parent bcdce4415d
commit 56f26b858a

View File

@@ -55,5 +55,5 @@ $erroractionpreference = "stop"
const traceScript = `
echo %s
%s
if ($LastExitCode -ne 0) { exit $LastExitCode }
if ($LastExitCode -gt 0) { exit $LastExitCode }
`