mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 04:34:46 +01:00
one tmp dir to rule them all, I think
This commit is contained in:
1 parent
56e409d9f1
commit
e0ea9cefde
7 files changed
+58
-41
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user