summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/exit.go b/exit.go
index 4e87fd2..b091f20 100644
--- a/exit.go
+++ b/exit.go
@@ -2,8 +2,8 @@ package main
import (
"fmt"
- "path/filepath"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -11,7 +11,7 @@ import (
func okExit(check *gitpb.Repo, msg string) {
log.Info("exit() go-mod-clean on", check.Namespace, "ok")
log.DaemonMode(true)
- me.argv.GoodExit(msg)
+ argvpb.GoodExit(msg)
}
func badExit(check *gitpb.Repo, err error) {
@@ -22,7 +22,6 @@ func badExit(check *gitpb.Repo, err error) {
eraseGoMod(check)
}
}
- fullpath := filepath.Join(check.FullPath)
- s := fmt.Sprintf("failed in %s", fullpath)
- me.argv.BadExit(s, err)
+ s := fmt.Sprintf("failed in %s", check.FullPath)
+ argvpb.BadExit(s, err)
}