Closed cure1245 closed 1 month ago
This may be a dupe of #1976 or at least a similar issue
Yeah, I was kind of iffy on if it was similar enough or not to that one to warrant a new issue.
This issue has been marked as duplicate and has not had any activity for 1 day. It will be closed for housekeeping purposes.
Before submitting a bug report:
Steps to reproduce
I have a function that uses XMLDocument.SelectNodes to grab attribute nodes, name them with a PSObject, and then filter them using Where-Object.
Expected behavior
Actual behavior
If we leave the pipes at the end of the lines as is standard practice, we get this:
However, the formatter correctly places the closing brace if we move the last pipe to the next line:
If an unexpected error was thrown then please report the full error details using e.g.
$error[0] | Select-Object *
Environment data