◐ Shell
clean mode source ↗

Also return suggestion to use PSCredential for AvoidUsingPlainTextForPassword rule by bergmeister · Pull Request #1782 · PowerShell/PSScriptAnalyzer

@bergmeister

… into avoidusingplaintextforpassword-multiple-suggestions
… into avoidusingplaintextforpassword-multiple-suggestions

andyleejordan added a commit to PowerShell/PowerShellEditorServices that referenced this pull request

Mar 31, 2022
With the recent fix in PR #1718, PSES processes now all Correction objects from PSSA but the message specifically was just taken from the last correction here. I did not notice this at first because I thought I had to tweak my rule first to emit two different messages until I realized it was another bug in PSES.

Related: PowerShell/PSScriptAnalyzer#1782

Co-authored-by: Andy Schwartzmeyer <andrew@schwartzmeyer.com>

JamesWTruher

sdwheeler