From 784b60a4e7113ddce062bea6793571b822f7f7ee Mon Sep 17 00:00:00 2001 From: Princess Pi Date: Fri, 25 Sep 2026 15:17:50 -0600 Subject: [PATCH] waypoint debugging --- Windows-Scripts/checksum.ps1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Windows-Scripts/checksum.ps1 b/Windows-Scripts/checksum.ps1 index dab3ad1..2d7963c 100644 --- a/Windows-Scripts/checksum.ps1 +++ b/Windows-Scripts/checksum.ps1 @@ -145,7 +145,10 @@ process { return } - $allItems = @()$isWildcardGlobal = $false$skipExtensions = @('.md5', '.sha1', '.sha256', '.sha384', '.sha512') + # Added explicit semicolons here to prevent copy-paste line-break parsing errors + $allItems = @(); + $isWildcardGlobal =$false; + $skipExtensions = @('.md5', '.sha1', '.sha256', '.sha384', '.sha512'); foreach ($pathEntry in$FilePath) { $isWildcard = ($pathEntry -match '\*') @@ -288,8 +291,8 @@ process { } # Check if -o / -OutFile parameter was explicitly invoked - $wantOutFile =$PSBoundParameters.ContainsKey('OutFile') - $outFilename =$OutFile + $wantOutFile =$PSBoundParameters.ContainsKey('OutFile'); + $outFilename =$OutFile; if ($wantOutFile) { # Feature 2 & 3: Recursive, Wildcard + Passed output flag splits hashes strictly into localized directory files