You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
In ISE, PS C:\Repo> Import-Module C:\Source\posh-hg\posh-hg.psm1
PS C:\Repo> $global:PoshHgSettings and note the colors are -1
PS C:\Repo> write-vcsstatus fails with 6 errors like the following:
Write-Host : Cannot process Color because -1 is not a valid color.
Parameter name: value
Actual value was -1.
At C:\Source\posh-hg\HgPrompt.ps1:16 char:19
+ Write-Host <<<< $s.BeforeText -NoNewline -BackgroundColor $s.BeforeBackgroundColor -ForegroundColor $s.BeforeForegroundColor
+ CategoryInfo : InvalidArgument: (:) [Write-Host], ArgumentOutOfRangeException
+ FullyQualifiedErrorId : SetInvalidBackgroundColor,Microsoft.PowerShell.Commands.WriteHostCommand
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Notably, in Powershell ISE.
PS C:\Repo> Import-Module C:\Source\posh-hg\posh-hg.psm1
PS C:\Repo> $global:PoshHgSettings
and note the colors are -1PS C:\Repo> write-vcsstatus
fails with 6 errors like the following:The text was updated successfully, but these errors were encountered: