mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
Change remaining audits to scan (#410)
This commit is contained in:
1 parent
6ca7a11d88
commit
fe69a17c9c
5 files changed
+15
-15
No files matched your search
+3
-3
@@ -155,7 +155,7 @@ func (repo *Repo) Scan() error {
|
||||
})
|
||||
|
||||
wg.Wait()
|
||||
repo.Manager.RecordTime(manager.AuditTime(howLong(scanTimeStart)))
|
||||
repo.Manager.RecordTime(manager.ScanTime(howLong(scanTimeStart)))
|
||||
repo.Manager.IncrementCommits(cc)
|
||||
return nil
|
||||
}
|
||||
@@ -185,7 +185,7 @@ func (repo *Repo) scanEmpty() error {
|
||||
scanType: uncommittedScan,
|
||||
})
|
||||
}
|
||||
repo.Manager.RecordTime(manager.AuditTime(howLong(scanTimeStart)))
|
||||
repo.Manager.RecordTime(manager.ScanTime(howLong(scanTimeStart)))
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -295,7 +295,7 @@ func (repo *Repo) scanUncommitted() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
repo.Manager.RecordTime(manager.AuditTime(howLong(scanTimeStart)))
|
||||
repo.Manager.RecordTime(manager.ScanTime(howLong(scanTimeStart)))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user