fix(posh-git): evaluate to true

This commit is contained in:
Jan De Dobbeleer 2022-04-15 23:41:23 +02:00 committed by Jan De Dobbeleer
parent 421139f5e1
commit 23c2c383fe

View file

@ -59,7 +59,7 @@ function global:Get-PoshContext {
}
function global:Initialize-ModuleSupport {
if ($env:POSH_GIT_ENABLED) {
if ($env:POSH_GIT_ENABLED -eq $true) {
$global:GitStatus = Get-GitStatus
$env:POSH_GIT_STATUS = Write-GitStatus -Status $global:GitStatus
}