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
This commit is contained in:
Gabi
2026-02-18 22:21:45 +02:00
committed by GitHub
parent 043ec9abe0
commit ae4b3f3ac7

View File

@@ -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