Repository navigation
Revert "Update formatter to not write newlines if content is empty (#11193)" - #11342
Conversation
…owerShell#11193)" This reverts commit 51d2523.
|
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. |
|
Ilya (@iSazonov) not suggesting we change |
|
I will pull the test in follow PR (revert PR is not right place). |
|
Ilya (@iSazonov) Steve Lee (@SteveL-MSFT) Since #11193 was reverted, is there an issue opened to track the original problem that PR was trying to fix? |
|
Dongbo Wang (@daxian-dbw) Original issue was discovered by Steve Lee (@SteveL-MSFT) but not registered so we haven't tracking issue. I do not know whether it is important for Steve Lee (@SteveL-MSFT). |
|
🎉 Handy links: |
…owerShell#11193)" (PowerShell#11342) This reverts commit ae7ca48.
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,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.