Fix tests.sh exit code
This commit is contained in:
parent
56f66dcd6e
commit
3efaceb823
1 changed files with 1 additions and 0 deletions
1
tests.sh
1
tests.sh
|
@ -66,6 +66,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run pre-commit
|
# Run pre-commit
|
||||||
|
RES=0
|
||||||
echo "Run pre-commit..."
|
echo "Run pre-commit..."
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
[ $? -ne 0 ] && RES=1
|
[ $? -ne 0 ] && RES=1
|
||||||
|
|
Loading…
Reference in a new issue