Skip to content

Conversation

bergmeister
Copy link
Collaborator

PR Summary

Fixed #1459 so that indentation gets increased for setting values of IncreaseIndentationForFirstPipeline or IncreaseIndentationAfterEveryPipeline if there is a comment between pipe and newline (the comment caused it not work because it peeked only at the next token when checking for the newline or line continuation token.

PR Checklist

…r the case of a comment between pipe and newline
@bergmeister bergmeister merged commit 53ece47 into PowerShell:master Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Formatter fails for multi-line pipelines when the first line has two or more pipes
2 participants