From 9939c638ecd9cafe261792e52198107e772a5e0f Mon Sep 17 00:00:00 2001 From: zach rice Date: Tue, 9 Oct 2018 21:07:49 -0500 Subject: [PATCH] better log --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index a6753fa1..0f1608d3 100644 --- a/main.go +++ b/main.go @@ -227,9 +227,9 @@ func main() { writeReport(leaks) } - log.Infof("%d commits inspected, %d leaks detected", totalCommits, len(leaks)) + log.Infof("%d commits inspected", totalCommits) if len(leaks) != 0 { - log.Warnf("leaks detected") + log.Warnf("%d leaks detected", len(leaks)) os.Exit(leakExit) } }