removing log formatting

This commit is contained in:
zricethezav committed 2018-07-21 14:01:39 -05:00
1 parent 45d94fa013
commit 94e7a25b5b
1 file changed
+2 -2
+2 -2
View File
@@ -223,9 +223,9 @@ func main() {
for _, r := range repos {
l, err := auditRepo(r.repository)
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 {
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 {
log.Fatal(err)