From 7385f3e9333ef6c7031c5cbba0d9f28ad43eb932 Mon Sep 17 00:00:00 2001 From: cbrand Date: Sat, 15 Apr 2023 01:27:31 -0700 Subject: [PATCH] Update 'capture.ps1' --- capture.ps1 | 1 + 1 file changed, 1 insertion(+) 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