mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
removing log formatting
This commit is contained in:
1 parent
45d94fa013
commit
94e7a25b5b
1 file changed
+2
-2
@@ -223,9 +223,9 @@ func main() {
|
|||||||
for _, r := range repos {
|
for _, r := range repos {
|
||||||
l, err := auditRepo(r.repository)
|
l, err := auditRepo(r.repository)
|
||||||
if len(l) == 0 {
|
if len(l) == 0 {
|
||||||
log.Infof("\x1b[32;2m%s\x1b[0m found for repo %s", "no leaks", r.name)
|
log.Infof("no leaks found for repo %s", r.name)
|
||||||
} else {
|
} else {
|
||||||
log.Warnf("\x1b[31;2m%s\x1b[0m found for repo %s", "leaks", r.name)
|
log.Warnf("leaks found for repo %s", r.name)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
|
|||||||
Reference in new issue
Block a user