1
Fork 0

Update test exit code for CI

This commit is contained in:
Jake Howard 2016-05-16 13:44:06 +01:00
parent 16160ce086
commit d8be5863e5

View file

@ -14,7 +14,8 @@ EXIT_CODE = 0
def check_if_exit_code(): def check_if_exit_code():
if EXIT_CODE != 0: if EXIT_CODE != 0:
print("\n{}Tests Failed. {}Please check messages above and then re-run the command.".format(Fore.RED, Fore.YELLOW)) print("\n{}Tests Failed. {}Please check messages above and then re-run the command.".format(Fore.RED, Fore.YELLOW))
exit(EXIT_CODE) print("{}Exit Code: {}".format(Fore.RED, EXIT_CODE))
exit(1)
print("{}Linting...".format(Fore.YELLOW)) print("{}Linting...".format(Fore.YELLOW))