Skip to content

Commit 1b80d28

Browse files
committed
Fix JSON format tests
1 parent 9455941 commit 1b80d28

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)