Skip to content

Conversation

@daviwil
Copy link
Contributor

@daviwil daviwil commented May 17, 2017

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.

Resolves PowerShell/vscode-powershell#689
Resolves PowerShell/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.

Resolves PowerShell/vscode-powershell#689
Resolves PowerShell/vscode-powershell#663
@daviwil daviwil modified the milestone: 1.1.0 May 17, 2017
@daviwil daviwil merged commit 8bce076 into PowerShell:develop May 17, 2017
@daviwil daviwil deleted the profile-output branch May 17, 2017 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants