chore: update PS install docs

This commit is contained in:
Jan De Dobbeleer 2020-12-02 09:55:42 +01:00
parent bd4d563245
commit 95c51a8538

View file

@ -195,7 +195,7 @@ Edit `$PROFILE` in your preferred PowerShell version and add the following lines
$errorCode = 0
if ($lastCommandSuccess -eq $false) {
#native app exit code
if ($realLASTEXITCODE -is [int]) {
if ($realLASTEXITCODE -is [int] -and $realLASTEXITCODE -gt 0) {
$errorCode = $realLASTEXITCODE
}
else {