Skip to content

Commit dbaa83c

Browse files
SeeminglyScienceandyleejordan
authored andcommitted
Do not merge information stream into output
This was causing an error where the formatting of the information streams was dropped, and so just rendered in plaintext. This code now operates the same was as in version 2.0, where we only merge the error stream into the output.
1 parent f3d4bf2 commit dbaa83c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/PowerShellEditorServices/Utility/PSCommandExtensions.cs

-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ public static PSCommand MergePipelineResults(this PSCommand psCommand)
6666
// We need to do merge errors and output before rendering with an Out- cmdlet
6767
Command lastCommand = psCommand.Commands[psCommand.Commands.Count - 1];
6868
lastCommand.MergeMyResults(PipelineResultTypes.Error, PipelineResultTypes.Output);
69-
lastCommand.MergeMyResults(PipelineResultTypes.Information, PipelineResultTypes.Output);
7069
}
7170
return psCommand;
7271
}

0 commit comments

Comments
 (0)