Skip to content

Commit

Permalink
cli: exit with error code if lint fails
Browse files Browse the repository at this point in the history
  • Loading branch information
abhidg committed Sep 16, 2024
1 parent 3012548 commit 6c88070
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/olm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def main():
else:
msg_fail("lint", "failed for " + bold_outbreak)
print(lint_result)
sys.exit(2)
case "report":
make_report(
args.outbreak,
Expand Down

0 comments on commit 6c88070

Please sign in to comment.