Might be helpful to return non-0 exit code on failure! Wow

This commit is contained in:
Alessio 2025-04-19 16:50:20 -07:00
parent f9909b28ff
commit 90215c0ce3

View File

@ -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)
} }