mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-03-12 17:51:46 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user