Fix tests.sh exit code
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2023-01-16 13:37:53 +01:00
parent 56f66dcd6e
commit 3efaceb823

View file

@ -66,6 +66,7 @@ then
fi
# Run pre-commit
RES=0
echo "Run pre-commit..."
pre-commit run --all-files
[ $? -ne 0 ] && RES=1