From dc5591f9cd8323456132b0028622b28e275615f7 Mon Sep 17 00:00:00 2001 From: Craig Peterson Date: Thu, 12 Jan 2017 07:29:36 -0700 Subject: [PATCH] use status code --- build/validate.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/validate.go b/build/validate.go index 754252c49..f63362c27 100644 --- a/build/validate.go +++ b/build/validate.go @@ -25,6 +25,9 @@ func main() { fmt.Println(err) appendErrorStatus("needs go generate") } + if status != "" { + os.Exit(1) + } } func checkGoFmt() error {