From d7a75574f7884a9e7e390a01b91c92a8fd6f1747 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Wed, 21 Aug 2024 16:17:26 +0100
Subject: [PATCH] Catch exit code non 0 in pre-commit
---
test_all.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test_all.sh b/test_all.sh
index 038cd17a..1525870d 100755
--- a/test_all.sh
+++ b/test_all.sh
@@ -108,4 +108,4 @@ cd ../../../docs
python generate.py
cd ..
-pre-commit run --all-files
+/bin/bash -c 'pre-commit run --all-files; echo Finished running pre-commit!' # Note: prevents error code when reformatting