Skip to content

Conversation

@seesharper
Copy link
Collaborator

This PR fixes #657 by writing warnings from the compiler (Diagnostics) to stdErr instead of stdOut as we used to.
As mentioned in the issue this causes "pollution" of the stdOut stream and could cause issues when for instance piping the output from dotnet.script to another command.

Tried to make this with as little changes to the tests as possible. We now return a ProcessResult with a deconstruct that matches the tuple used in many tests.

@seesharper seesharper requested a review from filipw September 25, 2022 21:17
Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@filipw filipw merged commit fc932e5 into master Sep 26, 2022
@filipw filipw deleted the issue657 branch September 26, 2022 06:18
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.

Stop compiler warnings being written to stdout

3 participants