Excel open check: count saved passes apart from the XLM gate

This commit is contained in:
Harrison Booth committed 2026-10-26 11:30:56 -05:00
1 parent 1053b66a0e
commit c4920c463b
1 file changed
+2 -1
+2 -1
View File
@@ -118,5 +118,6 @@ foreach ($w in $work) {
$rows | Format-Table -AutoSize -Wrap | Out-String -Width 220 | Write-Output
if ($Csv) { $rows | Export-Csv -NoTypeInformation -Path $Csv }
$bad = @($rows | Where-Object { $_.Saved -ne 'PASS' -or $_.Original -eq 'SKIP-XLM' }).Count
"{0} of {1} saved files pass" -f ($rows.Count - $bad), $rows.Count
$savedBad = @($rows | Where-Object Saved -ne 'PASS').Count
"{0} of {1} saved files pass" -f ($rows.Count - $savedBad), $rows.Count
if ($bad) { exit 1 }