mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-28 01:10:34 +01:00
Excel open check: count saved passes apart from the XLM gate
This commit is contained in:
1 parent
1053b66a0e
commit
c4920c463b
1 file changed
+2
-1
@@ -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 }
|
||||
Reference in new issue
Block a user