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
Thanks for bringing this to our attention @Ana06! We are unsure when we will be able to fix this issue but have marked in up for grabs for community fixes.
Using the
Fix
option for thePSAvoidTrailingWhitespace
rule is broken.Steps to reproduce
I have installed PSScriptAnalyzer v1.20.0 using chocolatey and run the following command in this folder: https://github.com/mandiant/VM-Packages/tree/2726fcde4bba996dcd446b240c3439a129ddba7d/packages
Expected behavior
I had expected this command to fix the offenses of the
PSAvoidTrailingWhitespace
rule.Actual behavior
It removes
![Screenshot 2021-12-21 at 14 20 17](https://user-images.githubusercontent.com/16052290/146936720-630b76cf-44c6-4caf-b1dd-fd9cc45b2011.png)
}
causing aMissingEndCurlyBrace
parsing error, as you can see in thegit diff
:An
<U+FEFF>
is also added at the beginning of the modified files. This seems related to #1743Environment data
The text was updated successfully, but these errors were encountered: