summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/exit.go b/exit.go
index ed70f58..c35f662 100644
--- a/exit.go
+++ b/exit.go
@@ -8,7 +8,7 @@ import (
)
func okExit(check *gitpb.Repo, msg string) {
- log.Info("exit() go-mod-clean on", check.GetGoPath(), "ok")
+ log.Info("exit() go-mod-clean on", check.Namespace, "ok")
log.DaemonMode(true)
log.Info(msg)
os.Exit(0)
@@ -16,7 +16,7 @@ func okExit(check *gitpb.Repo, msg string) {
func badExit(check *gitpb.Repo, err error) {
log.DaemonMode(true)
- log.Info("go-mod-clean failed: ", err, forge.GetGoSrc())
+ log.Info("go-mod-clean failed: ", err, forge.Config.ReposDir)
if check != nil {
if argv.Strict != nil {
// if in strict mode, remove the go.mod and go.sum