You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the foreach method on an array, the formatter does not indent or space correctly. For example, if you do something like this:
$items.foreach({
# Do things
})
the formatter will format it like this:
$items.foreach( {
# Do things
})
It probably has something to do with having two open and two close braces right next to each other like that; when done this way, though, they should be treated as a single open and single close.
Attached Logs
I don't think this needs logs since it's not causing errors per se, but if you want them, I can produce them for you. Just let me know.
The text was updated successfully, but these errors were encountered:
System Details
$PSVersionTable
:Issue Description
When using the foreach method on an array, the formatter does not indent or space correctly. For example, if you do something like this:
the formatter will format it like this:
It probably has something to do with having two open and two close braces right next to each other like that; when done this way, though, they should be treated as a single open and single close.
Attached Logs
I don't think this needs logs since it's not causing errors per se, but if you want them, I can produce them for you. Just let me know.
The text was updated successfully, but these errors were encountered: