diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2022-12-02 21:17:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-02 14:17:57 -0600 |
commit | ef83e7a0928231b02650b3554ccd5bf21164aaff (patch) | |
tree | c68356bd081579d0215dd77d9746b37b56d615a9 | |
parent | 9d4870775a85b8f3bfc97024281aeb811e879fba (diff) |
fix(pwsh): fix error log display on older versions of pwsh (#4650)
-rwxr-xr-x | src/init/starship.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/starship.ps1 b/src/init/starship.ps1 index e97da7d16..4422a1ed2 100755 --- a/src/init/starship.ps1 +++ b/src/init/starship.ps1 @@ -64,7 +64,7 @@ $null = New-Module starship { # Manually write it to console if ($stderr.Result.Trim() -ne '') { # Write-Error doesn't work here - $host.ui.WriteErrorLine($stderr) + $host.ui.WriteErrorLine($stderr.Result) } $stdout.Result; |