summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-05-29 19:17:50 -0500
committerJeff Carr <[email protected]>2025-05-29 19:17:50 -0500
commita29e10e9116f4d5ab80210b3eb8e25b674d3338f (patch)
treeb6182f8668da2dd246092f6fe6c7dad0093d3121 /exit.go
parent2b85f5e17dda4bea2b9403668c66e291dfa67591 (diff)
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go2
1 files changed, 1 insertions, 1 deletions
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)
}