summaryrefslogtreecommitdiff
path: root/exit.go
blob: 91a4c99303e6a9291abb7f6a2b673dda04ef35bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import (
	"go.wit.com/log"
)

func okExit(thing string) {
	log.Info(thing, "ok")
	// log.Info("Finished go-clean on", check.GetNamespace(), "ok")
	me.argv.GoodExit(thing)
}

func badExit(err error) {
	log.Info("forge failed: ", err, me.forge.Config.ReposDir)
	me.argv.BadExit("guireleaser", err)
}