summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-04 15:29:34 -0500
committerJeff Carr <[email protected]>2025-10-04 15:29:34 -0500
commit36f568c3e2ac3ff54d5aa180a2685be94351d8c4 (patch)
treeef6a7c0a5e1a255c62eb93ee7b3dee9771f4b2c0 /exit.go
parentef7e82b9859bcf789f0eceef8d6f051617c50dde (diff)
automate publish & merge
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/exit.go b/exit.go
index d317d3b..7b9fa8c 100644
--- a/exit.go
+++ b/exit.go
@@ -23,7 +23,14 @@ func okExit(thing string) {
}
func badExit(err error) {
- log.Info("forge failed: ", err, me.forge.Config.ReposDir)
+ log.Info(err)
+ log.Info("forge failed")
+ os.Exit(-1)
+}
+
+func newBadExit(msg string, err error) {
+ log.Info(err)
+ log.Info(msg)
os.Exit(-1)
}