-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Revert "Update formatter to not write newlines if content is empty (#11193)" #11342
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
Conversation
…owerShell#11193)" This reverts commit 51d2523.
src/System.Management.Automation/FormatAndOutput/common/ComplexWriter.cs
Show resolved
Hide resolved
Should we add a test for the Get-Help scenario? |
The scenario is a side effect. If we change Get-Help we can lost the new test. I don't know how create more common and reliable test. |
@iSazonov not suggesting we change |
I will pull the test in follow PR (revert PR is not right place). |
@iSazonov @SteveL-MSFT Since #11193 was reverted, is there an issue opened to track the original problem that PR was trying to fix? |
@daxian-dbw Original issue was discovered by @SteveL-MSFT but not registered so we haven't tracking issue. I do not know whether it is important for @SteveL-MSFT. |
🎉 Handy links: |
PR Summary
This reverts commit 51d2523. (#11193)
PR Context
Fix #11340
It seems we filter out a null too late.
We need to have more info about a scenario we tried to fix in #11193.
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.