Might be helpful to return non-0 exit code on failure! Wow
This commit is contained in:
parent
f9909b28ff
commit
90215c0ce3
@ -54,7 +54,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
if is_failure {
|
if is_failure {
|
||||||
fmt.Println(RED + "Errors found" + RESET)
|
fmt.Println(RED + "Errors found" + RESET)
|
||||||
} else {
|
os.Exit(1)
|
||||||
|
}
|
||||||
fmt.Println(GREEN + "Success" + RESET)
|
fmt.Println(GREEN + "Success" + RESET)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user