From ae4b3f3ac75681cc7ab1db9d140fd5a234dc6dee Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Wed, 18 Feb 2026 22:21:45 +0200 Subject: [PATCH] Remove file missing error from running complie.ps1 (#4078) * Remove Validatsion of the ExcludedItems List From complie.ps1 and remove annoying warning * Update Invoke-Preprocessing.ps1 --- tools/Invoke-Preprocessing.ps1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/Invoke-Preprocessing.ps1 b/tools/Invoke-Preprocessing.ps1 index 7dec78cf..0afa1a1b 100644 --- a/tools/Invoke-Preprocessing.ps1 +++ b/tools/Invoke-Preprocessing.ps1 @@ -58,7 +58,7 @@ function Invoke-Preprocessing { ForEach ($excludedFile in $ExcludedFiles) { $InternalExcludedFiles.Add($excludedFile) | Out-Null } - + # Validate the ExcludedItems List before continuing on if ($ExcludedFiles.Count -gt 0) { ForEach ($excludedFile in $ExcludedFiles) { @@ -75,9 +75,6 @@ function Invoke-Preprocessing { } else { $failedFilesList += "'$filePath', " } } $failedFilesList = $failedFilesList -replace (',\s*$', '') - if ((-not $failedFilesList -eq "")) { - Write-Warning "[Invoke-Preprocessing] One or more File Paths and/or File Patterns were not found: $failedFilesList" - } } # Get Files List