From 36f568c3e2ac3ff54d5aa180a2685be94351d8c4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 4 Oct 2025 15:29:34 -0500 Subject: automate publish & merge --- exit.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'exit.go') 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) } -- cgit v1.2.3