From 32cccb91fa9df67e22f65ce113df24c9ac2d7548 Mon Sep 17 00:00:00 2001 From: silverqx Date: Wed, 28 Jun 2023 13:47:13 +0200 Subject: [PATCH] tools enhanced Find-Todos --- tools/Find-Todos.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Find-Todos.ps1 b/tools/Find-Todos.ps1 index 183c548c7..9ac9b65b0 100644 --- a/tools/Find-Todos.ps1 +++ b/tools/Find-Todos.ps1 @@ -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'