Skip to content

Commit fd6e4be

Browse files
authored
Merge pull request CloudBotIRC#115 from linuxdaemon/gonzobot+fix-json-tests
Fix JSON format tests
2 parents bb1b389 + 1b80d28 commit fd6e4be

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

travis/test_json.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@
3131
exit_code |= 2
3232
print("Travis: {} is not a properly formatted JSON file".format(file))
3333

34-
sys.exit(exit_code)
34+
if exit_code != 0:
35+
sys.exit(exit_code)

0 commit comments

Comments
 (0)