Skip to content

Find, verify, and analyze leaked credentials

Removing Debug version Println to logrus debug (#993)

Yassine Ilmi330a6f7cdcf0
diff --git a/main.go b/main.go
index c5f9ddccb..f6d77ece7 100644
--- a/main.go
+++ b/main.go
@@ -150,7 +150,7 @@ func main() {
func run(state overseer.State) {
if *debug {
- fmt.Println("trufflehog " + version.BuildVersion)
+ logrus.Debugf("trufflehog %s", version.BuildVersion)
}
if *githubScanToken != "" {