Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReviewUnusedParameter: Do not trigger when MyInvocation.BoundParameters or PSCmdlet.MyInvocation.BoundParameters is used #1520
Conversation
microsoft-cla
bot
commented
Jun 11, 2020
•
|
Thanks. Implementation looks good to me, just a minor suggestion. PSScriptAnalyzer/Tests/Rules/ReviewUnusedParameter.tests.ps1 Lines 53 to 57 in 67805a1 Also, when you use a closing keyword in the PR description it will close the referenced issue |
|
LGTM, with two small comments |
- Add pester tests
|
Thanks both for your feedback. @bergmeister did not approve the PR, so requested review again.
Writing pester tests for testing PSSA rule behavior is the most easiest job I have come across :) |
|
Thanks, looks good |
jegannathanmaniganadan commentedJun 11, 2020
•
edited
PR Summary
PR Checklist
.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.