mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-02-09 07:28:36 +00:00
fix(pwsh): fix error log display on older versions of pwsh (#4650)
This commit is contained in:
parent
9d4870775a
commit
ef83e7a092
@ -64,7 +64,7 @@ $null = New-Module starship {
|
|||||||
# Manually write it to console
|
# Manually write it to console
|
||||||
if ($stderr.Result.Trim() -ne '') {
|
if ($stderr.Result.Trim() -ne '') {
|
||||||
# Write-Error doesn't work here
|
# Write-Error doesn't work here
|
||||||
$host.ui.WriteErrorLine($stderr)
|
$host.ui.WriteErrorLine($stderr.Result)
|
||||||
}
|
}
|
||||||
|
|
||||||
$stdout.Result;
|
$stdout.Result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user