Skip to content

Find, verify, and analyze leaked credentials

Don't attempt checking for updates on dev builds (#317)

Dustin Deckere8b55ad826a3
diff --git a/main.go b/main.go
index 7da00e2d8..9e305b4a6 100644
--- a/main.go
+++ b/main.go
@@ -116,6 +116,10 @@ func main() {
if !*noUpdate {
updateCfg.Fetcher = updater.Fetcher(version.BuildVersion)
}
+ if version.BuildVersion == "dev" {
+ updateCfg.Fetcher = nil
+ }
+
err := overseer.RunErr(updateCfg)
if err != nil {
logrus.WithError(err).Fatal("error occured with trufflehog updater 🐷")