diff --git a/tools/looknewer.ps1 b/tools/looknewer.ps1 index fbc87b26f..36aae6bc2 100644 --- a/tools/looknewer.ps1 +++ b/tools/looknewer.ps1 @@ -153,6 +153,7 @@ $link" foreach ($issue in $issues) { $search = ($issue.Title.split('-')[-1]).trim().replace(" ","-") "Checking $search" + "does $excludefile exists : $(Test-Path($excludefile))" if(!((Get-GitHubIssue -OwnerName $Owner -RepositoryName $Repository | Where-Object {$_.title -match "($search)"} | Where-Object {$_.created -lt $((Get-Date).AddDays(-90))})) -and (!((Get-Content $excludefile | Select-String -Pattern $search).Matches.Success)) -AND (!(Test-Path "automatic/$search"))) { $link = "[$($search)](https://github.com/chocolatey-community/chocolatey-package-requests/issues/$($issue.number))" $link