From 3efaceb8232071ec147df46796b91a90f00e57a8 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 16 Jan 2023 13:37:53 +0100 Subject: [PATCH] Fix tests.sh exit code --- tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests.sh b/tests.sh index d4c86d2..4afab58 100755 --- a/tests.sh +++ b/tests.sh @@ -66,6 +66,7 @@ then fi # Run pre-commit +RES=0 echo "Run pre-commit..." pre-commit run --all-files [ $? -ne 0 ] && RES=1