one tmp dir to rule them all, I think

This commit is contained in:
Zach committed 2025-05-13 21:39:09 -05:00
1 parent 56e409d9f1
commit e0ea9cefde
7 files changed
+58 -41

No files matched your search

+2
View File
@@ -421,6 +421,8 @@ func findingSummaryAndExit(detector *detect.Detector, findings []report.Finding,
diagnosticsManager.StopDiagnostics()
}
detector.Cleanup()
totalBytes := detector.TotalBytes.Load()
bytesMsg := fmt.Sprintf("scanned ~%d bytes (%s)", totalBytes, bytesConvert(totalBytes))
if err == nil {