From 977f10387139449a7b2ed6b6abac173e6169ce00 Mon Sep 17 00:00:00 2001 From: Calum Macdonald Date: Tue, 19 Mar 2024 16:48:36 +0000 Subject: [PATCH] updating husky --- .husky/pre-commit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 7c60e31..b3b4023 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,3 +1,4 @@ + cd hdr_schemata/models/HDRUK python create_json_schema.py cd ../GWDM @@ -5,7 +6,8 @@ python create_json_schema.py cd ../../../ -pwd +python hdr_schemata/utils/create_markdown.py + if [ $? -ne 0 ]; then echo "Pre-commit hook failed: Python script(s) failed"