Skip to content

Commit e97d904

Browse files
committed
Update AvoidReservedParams.md
1 parent fa8be44 commit e97d904

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

RuleDocumentation/AvoidReservedParams.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ To fix a violation of this rule, please change the name of your parameter.
1313
##Example
1414

1515
Wrong:
16-
16+
```
1717
function Test
1818
{
1919
[CmdletBinding]
2020
Param($ErrorVariable, $b)
2121
}
22+
```
2223

2324
Correct:
24-
25+
```
2526
function Test
2627
{
2728
[CmdletBinding]
2829
Param($err, $b)
2930
}
31+
```

0 commit comments

Comments
 (0)