Skip to content

Commit

Permalink
fix: raise exception upon faulty typercli run
Browse files Browse the repository at this point in the history
  • Loading branch information
sujuka99 committed Sep 22, 2023
1 parent 242be4c commit 2774c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/gen_docs/gen_docs_cli_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"--output",
str(PATH_CLI_COMMANDS_DOC),
]
subprocess.run(typer_args)
subprocess.run(typer_args, check=True, capture_output=True)

# Replace wrong title in CLI Usage doc
with PATH_CLI_COMMANDS_DOC.open("r") as f:
Expand Down

0 comments on commit 2774c66

Please sign in to comment.