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

import (
	"go.wit.com/lib/ENV"
	"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, ENV.Get("gopath"))
	me.argv.BadExit("guireleaser", err)
}