fix powershell LastExitCode on windows
This commit is contained in:
@@ -55,5 +55,5 @@ $erroractionpreference = "stop"
|
||||
const traceScript = `
|
||||
echo %s
|
||||
%s
|
||||
if ($LastExitCode -ne 0) { exit $LastExitCode }
|
||||
if ($LastExitCode -gt 0) { exit $LastExitCode }
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user