mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
fix(pwsh): fixed bad error code passing to Set-PoshContext
This commit is contained in:
parent
5a6e98946a
commit
f38998ef18
|
@ -387,8 +387,6 @@ Example:
|
|||
}
|
||||
catch {}
|
||||
}
|
||||
|
||||
Set-PoshContext $script:ErrorCode
|
||||
}
|
||||
|
||||
function Update-PoshErrorCode {
|
||||
|
@ -446,6 +444,8 @@ Example:
|
|||
Update-PoshErrorCode
|
||||
}
|
||||
|
||||
Set-PoshContext $script:ErrorCode
|
||||
|
||||
$cleanPSWD = Get-CleanPSWD
|
||||
$stackCount = global:Get-PoshStackCount
|
||||
$terminalWidth = Get-TerminalWidth
|
||||
|
|
Loading…
Reference in a new issue