diff --git a/capture.ps1 b/capture.ps1 index af187e5..7b44b14 100644 --- a/capture.ps1 +++ b/capture.ps1 @@ -14,6 +14,7 @@ $captureListFile = Join-Path -Path $path -ChildPath "capture.filelist" $fileList = Get-Content -Path $captureListFile foreach ($file in $fileList) { + if ([string]::IsNullOrWhiteSpace($file)) { continue } $files = @() if ($file.IndexOf('/*') -gt -1) { $files = Get-ChildItem -Path $file -Recurse