Conversation

TMA-2

Fixes #5108. Also my first PR, so hopefully everything checks out!

PR Summary

  • Corrects a missing close comment in the Function rule snippet
  • Corrects the tab stop numbering in the Parameter rule snippet as well as duplicate use of $TM_SELECTED_TEXT
  • Adds a missing comma in The Scope rule snippet
  • Minor formatting

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • NA PR has tests
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

Fix for issue PowerShell#5108

- Corrects a missing close comment in the Function rule snippet
- Corrects the tab stop numbering in the Parameter rule snippet as well as duplicate use of `$TM_SELECTED_TEXT`
- Adds a missing comma in The Scope rule snippet
- Minor formatting
@TMA-2TMA-2 requested a review from a team as a code owner December 2, 2024 11:59
@TMA-2

@microsoft--policy-service agree

@JustinGrote

@TMA-2 thanks for your submission! I'll try to take a look at it in the next two weeks.

@JustinGroteJustinGrote added Issue-BugA bug to squash.Area-Snippets labels Dec 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much!

@andyleejordanandyleejordan enabled auto-merge (squash) December 3, 2024 22:11
@andyleejordanandyleejordan merged commit 1aa99c2 into PowerShell:main Dec 3, 2024
4 checks passed
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Area-Snippets Issue-BugA bug to squash.
None yet

Successfully merging this pull request may close these issues.

Snippet Issues: Suppress PSScriptAnalyzer Rules malformed (scope, function, param)