mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-05 22:28:31 +00: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) {
|
ForEach ($excludedFile in $ExcludedFiles) {
|
||||||
$InternalExcludedFiles.Add($excludedFile) | Out-Null
|
$InternalExcludedFiles.Add($excludedFile) | Out-Null
|
||||||
}
|
}
|
||||||
|
|
||||||
# Validate the ExcludedItems List before continuing on
|
# Validate the ExcludedItems List before continuing on
|
||||||
if ($ExcludedFiles.Count -gt 0) {
|
if ($ExcludedFiles.Count -gt 0) {
|
||||||
ForEach ($excludedFile in $ExcludedFiles) {
|
ForEach ($excludedFile in $ExcludedFiles) {
|
||||||
@@ -75,9 +75,6 @@ function Invoke-Preprocessing {
|
|||||||
} else { $failedFilesList += "'$filePath', " }
|
} else { $failedFilesList += "'$filePath', " }
|
||||||
}
|
}
|
||||||
$failedFilesList = $failedFilesList -replace (',\s*$', '')
|
$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
|
# Get Files List
|
||||||
|
|||||||
Reference in New Issue
Block a user