From a29e10e9116f4d5ab80210b3eb8e25b674d3338f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 29 May 2025 19:17:50 -0500 Subject: fixes due to 'go mod' behavior changes --- exit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exit.go') diff --git a/exit.go b/exit.go index 81224c3..ed70f58 100644 --- a/exit.go +++ b/exit.go @@ -18,7 +18,7 @@ func badExit(check *gitpb.Repo, err error) { log.DaemonMode(true) log.Info("go-mod-clean failed: ", err, forge.GetGoSrc()) if check != nil { - if argv.Strict { + if argv.Strict != nil { // if in strict mode, remove the go.mod and go.sum eraseGoMod(check) } -- cgit v1.2.3