summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:06:13 -0500
committerJeff Carr <[email protected]>2025-10-26 10:06:13 -0500
commita75e4796680ecf33b74db60b6b780d6e7e6cc0f3 (patch)
treec53b12dc434b1b4d32edb6356388ea181efb4de2 /exit.go
parent7f6a5e689d5dee439a037ef815eaee24867c5f84 (diff)
new argv (much better than before)v0.0.129
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)
}