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
This change causes both errors and object output to be written to the
host when profiles are being loaded. Users who had issues in their
profile scripts thought that the scripts weren't being loaded when in
fact there were errors not being displayed. Also, users using
Write-Output in their profile scripts did not see that output. This
change makes the PSES host consistent with the PowerShell ConsoleHost,
writing both forms of output when loading profile scripts.
ResolvesPowerShell/vscode-powershell#689ResolvesPowerShell/vscode-powershell#663
This change causes both errors and object output to be written to the
host when profiles are being loaded. Users who had issues in their
profile scripts thought that the scripts weren't being loaded when in
fact there were errors not being displayed. Also, users using
Write-Output in their profile scripts did not see that output. This
change makes the PSES host consistent with the PowerShell ConsoleHost,
writing both forms of output when loading profile scripts.
ResolvesPowerShell/vscode-powershell#689ResolvesPowerShell/vscode-powershell#663
Somehow Write-Output isn't writing output correctly when run from inside user profile scripts. Write-Verbose seems to work correctly though.
/cc @DonPwrShellHunt
The text was updated successfully, but these errors were encountered: