Skip to content

Commit 5884c9e

Browse files
Update .github/instructions/dsc-community-style-guidelines-pester.instructions.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 01753d0 commit 5884c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/instructions/dsc-community-style-guidelines-pester.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ applyTo: "**/*.[Tt]ests.ps1"
1515
- Pass all mandatory parameters to avoid prompts
1616

1717
## Structure & Scope
18-
- Public commands: Never use `InModuleScope` (unless to get localized string)
18+
- Public commands: Never use `InModuleScope` (unless retrieving localized strings)
1919
- Private functions/class resources: Always use `InModuleScope`
2020
- Each scenario = separate `Context` block
2121
- Use nested `Context` blocks for complex scenarios

0 commit comments

Comments
 (0)