zach rice 7 سال پیش
والد
کامیت
9939c638ec
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      main.go

+ 2 - 2
main.go

@@ -227,9 +227,9 @@ func main() {
 		writeReport(leaks)
 		writeReport(leaks)
 	}
 	}
 
 
-	log.Infof("%d commits inspected, %d leaks detected", totalCommits, len(leaks))
+	log.Infof("%d commits inspected", totalCommits)
 	if len(leaks) != 0 {
 	if len(leaks) != 0 {
-		log.Warnf("leaks detected")
+		log.Warnf("%d leaks detected", len(leaks))
 		os.Exit(leakExit)
 		os.Exit(leakExit)
 	}
 	}
 }
 }