From 9ec4964d2f552a4b6fbe0b380d567acc5d17aebc Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Tue, 19 Nov 2024 16:05:00 +0100 Subject: [PATCH] fix: Exit with error when jinja2 is not found --- template/scripts/docs_templating.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/scripts/docs_templating.sh b/template/scripts/docs_templating.sh index ed5b9b01..e4b945da 100755 --- a/template/scripts/docs_templating.sh +++ b/template/scripts/docs_templating.sh @@ -21,7 +21,7 @@ fi if ! command -v jinja2 &> /dev/null then echo "jinja2 could not be found. Use 'pip install jinja2-cli' to install it." - exit + exit 1 fi # Check if templating vars file exists