From 841b2d030839e616c1bb664530bb52a4ceca33c6 Mon Sep 17 00:00:00 2001 From: Tunisiano187 Date: Fri, 17 May 2024 13:12:32 +0200 Subject: [PATCH] debug [skip ci] --- tools/looknewer.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/looknewer.ps1 b/tools/looknewer.ps1 index 79a997e62..fbc87b26f 100644 --- a/tools/looknewer.ps1 +++ b/tools/looknewer.ps1 @@ -16,7 +16,13 @@ $version = '' # Sort Exclude file $excludefile = '.\tools\Check\exclude.txt' if(!(Test-Path $excludefile)) { + Write-Debug "File does not exist at $excludefile" $excludefile = '..\tools\Check\exclude.txt' + if(!(Test-Path $excludefile)) { + Write-Debug "File does not exist at $excludefile" + } +} else { + Write-Debug "$excludefile OK" } Get-Content $excludefile | Sort-Object | Select-Object -Unique | Set-Content $excludefile