mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
use status code
This commit is contained in:
@@ -25,6 +25,9 @@ func main() {
|
|||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
appendErrorStatus("needs go generate")
|
appendErrorStatus("needs go generate")
|
||||||
}
|
}
|
||||||
|
if status != "" {
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func checkGoFmt() error {
|
func checkGoFmt() error {
|
||||||
|
|||||||
Reference in New Issue
Block a user