diff options
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -18,7 +18,9 @@ func badExit(check *gitpb.Repo, err error) { log.DaemonMode(true) log.Info("go-mod-clean failed: ", err, forge.GetGoSrc()) if check != nil { - eraseGoMod(check) + if argv.Pure { + eraseGoMod(check) + } } os.Exit(-1) } |
