mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-12-26 01:31:16 +08:00
use status code
This commit is contained in:
parent
5c0be455ac
commit
dc5591f9cd
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ func main() {
|
|||
fmt.Println(err)
|
||||
appendErrorStatus("needs go generate")
|
||||
}
|
||||
if status != "" {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
func checkGoFmt() error {
|
||||
|
|
Loading…
Reference in a new issue