Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
tunisiano187 committed May 17, 2024
1 parent 18f0f01 commit f65c487
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/looknewer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f65c487

Please sign in to comment.