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
$i-- is formatted to $i -- with the reformatter.
Example:
for ($i=99; $i-gt1; $i--) {
Write-Output-InputObject "$i bottles of beer on the wall, $i bottles of beer."Write-Output-InputObject "Take one down and pass it around, $($i-1) bottles of beer on the wall."
}
is reformatted to:
for ($i=99; $i-gt1; $i--) {
Write-Output-InputObject "$i bottles of beer on the wall, $i bottles of beer."Write-Output-InputObject "Take one down and pass it around, $($i-1) bottles of beer on the wall."
}
On the other hand, $i++ is still $i++ after reformatting.
Is this a bug or a feature?
The text was updated successfully, but these errors were encountered:
$i--
is formatted to$i --
with the reformatter.Example:
is reformatted to:
On the other hand,
$i++
is still$i++
after reformatting.Is this a bug or a feature?
The text was updated successfully, but these errors were encountered: