- Notifications
You must be signed in to change notification settings - Fork407
Fix formatting regression in 1.18.0 whereby single-line pipeline reduces indentation level incorrectly#1191
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…rrectly (problem only showed up when there was already existing indentation due to ClipNegative
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-Authored-By: bergmeister <c.bergmeister@gmail.com>
bergmeister commentedMar 25, 2019
I applied the suggestions, I have to look at the test failures though, locally it was fine. |
JamesWTruher left a comment
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.
it looks like this isn't quite right based on test failures
…nalyzer into FixUseConsistentIndentationBugWithSingleLinePipeline
…oop and not switch statement), simple mistake
bergmeister commentedMar 27, 2019
@rjmholt@JamesWTruher@TylerLeonhardt I fixed the build, it was a simple mistake, I used a |
PR Summary
Fixes#1187 by excluding single-line pipelines to avoid reduce indentation level incorrectly. This case showed up only when there is already some indentation.
PR Checklist
.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.