-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not print red success message #23210
Conversation
Console.ForegroundColor = ConsoleColor.Red; | ||
|
||
Console.Error.WriteLine(e.ToString()); | ||
WriteError(e.ToString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize this prints to stdout instead of stderr, but the error in the changes above also print to stdout. I don't see a clear reason why we should use stderr for a fatal error anyway. Not everyone knows how to redirect both stdout and stderr.
I think the code is being moved to https://github.com/Azure/azure-sdk-tools/tree/main/tools/snippet-generator |
Thank you for this, @heaths! |
Talked to @chidozieononiwu and it is being ported, but not in use yet. We could take this one, and I can port it to the new location so it's ready once he gets Azure/azure-sdk-tools deploying. |
/azp run net - core - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/check-enforcer evaluate |
Resolves Azure/azure-sdk-for-net#22347 and is a port of Azure/azure-sdk-for-net#23210
Resolves Azure/azure-sdk-for-net#22347 and is a port of Azure/azure-sdk-for-net#23210
Fixes #22347