Skip to content

Commit 9ec4964

Browse files
committed
fix: Exit with error when jinja2 is not found
1 parent fd40109 commit 9ec4964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/scripts/docs_templating.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121
if ! command -v jinja2 &> /dev/null
2222
then
2323
echo "jinja2 could not be found. Use 'pip install jinja2-cli' to install it."
24-
exit
24+
exit 1
2525
fi
2626

2727
# Check if templating vars file exists

0 commit comments

Comments
 (0)