diff options
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,7 +18,8 @@ func badExit(check *gitpb.Repo, err error) { log.DaemonMode(true) log.Info("go-mod-clean failed: ", err, forge.GetGoSrc()) if check != nil { - if argv.Pure { + if argv.Strict { + // if in strict mode, remove the go.mod and go.sum eraseGoMod(check) } } |
