Skip to content

Commit 04df5f6

Browse files
committed
Update the 'Wrong way' section to use an operator in the wrong way
1 parent c6ced76 commit 04df5f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Rules/UseCorrectCasing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ If true, require the case of all operators (e.g. -eq, -ne, -gt) to be lowercase.
5858

5959
```powershell
6060
ForEach ($file in Get-childitem -Recurse) {
61-
$file.Extension -eq '.txt'
61+
$file.Extension -EQ '.txt'
6262
}
6363
6464
invoke-command { 'foo' } -runasadministrator

0 commit comments

Comments
 (0)