Skip to content

Commit 2a46b7f

Browse files
iRon7Copilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 14ed9f5 commit 2a46b7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/Rules/AvoidUsingArrayList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $List = [System.Collections.Generic.List[Object]]::new()
4646
1..3 | ForEach-Object { $List.Add($_) } # This will not return anything
4747
```
4848

49-
```PowerShell
49+
```powershell
5050
# Creating a fixed array by using the PowerShell pipeline
5151
$List = 1..3 | ForEach-Object { $_ }
5252
```

0 commit comments

Comments
 (0)