diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 10:06:13 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 10:06:13 -0500 |
| commit | a75e4796680ecf33b74db60b6b780d6e7e6cc0f3 (patch) | |
| tree | c53b12dc434b1b4d32edb6356388ea181efb4de2 /exit.go | |
| parent | 7f6a5e689d5dee439a037ef815eaee24867c5f84 (diff) | |
new argv (much better than before)v0.0.129
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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) } |
