tools enhanced Find-Todos

This commit is contained in:
silverqx
2023-06-28 13:47:13 +02:00
parent e695c3f5c9
commit 32cccb91fa

View File

@@ -48,7 +48,7 @@ if ($PSVersionTable.Platform -eq 'Win32NT') {
Get-ChildItem -Path $Path -Include $Include -Recurse -File
| Where-Object DirectoryName -Match "^$Script:InFolders"
| Select-String -Pattern $TodoKeywordsPattern.toUpper() -CaseSensitive
| Select-String -Pattern "(?://)$($TodoKeywordsPattern.toUpper())" -CaseSensitive
| Select-Object -Property `
@{
Name = 'Line'