Pretty output (#973)

pretty output
This commit is contained in:
Zachary Rice authored and GitHub committed 2022-09-04 08:58:57 -05:00
1 parent 7d9dd260f4
commit 96eed6aa0f
12 files changed
+134 -15

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ func runProtect(cmd *cobra.Command, args []string) {
}
// log info about the scan
log.Info().Msgf("scan completed in %s", time.Since(start))
log.Info().Msgf("scan completed in %s", FormatDuration(time.Since(start)))
if len(findings) != 0 {
log.Warn().Msgf("leaks found: %d", len(findings))
} else {