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 {