diff options
| author | Jeff Carr <[email protected]> | 2025-10-17 01:30:21 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-17 01:30:21 -0500 |
| commit | 10205f1af9a45215a32b5489331576559df79e07 (patch) | |
| tree | 730ef24df79125f71e3ef131bed2ca2f6cdc5106 | |
| parent | b0af6a177f0647cf1774552f3bdaf6cbb4c88dad (diff) | |
die this way nolonger
| -rw-r--r-- | exit.go | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,19 +1,16 @@ package main import ( - "os" - "go.wit.com/log" ) func okExit(thing string) { log.Info(thing, "ok") // log.Info("Finished go-clean on", check.GetNamespace(), "ok") - me.forge.Exit() - os.Exit(0) + me.sh.GoodExit(thing) } func badExit(err error) { log.Info("forge failed: ", err, me.forge.Config.ReposDir) - os.Exit(-1) + me.sh.BadExit("guireleaser", err) } |
