diff options
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) } |
