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
RuleName Severity ScriptName Line Message
-------- -------- ---------- ---- -------
PSAvoidAssignmentToAutomaticVariable Error 1 The Variable 'true' cannot be assigned since it is a
readonly automatic variable that is built into
PowerShell, please use a different name.
… when assigning a .Net property and only look at the LHS (#1008)
* Fix NullReferenceException in AvoidAssignmentToAutomaticVariable rule when assigning a net property to a .Net property
* when variableExpressionAst is null, then continue loop to reduce nesting
* fix indentation for cleaner diff
* Fix issue #1013 as well by making sure the rule looks only the LHS
* Fix issue #1012 as well
* Simplify test that checks that PSSA does not throw to address PR review
Steps to reproduce
Expected behavior
Actual behavior
Environment data
The text was updated successfully, but these errors were encountered: