diff --git a/.husky/pre-commit b/.husky/pre-commit index c8fec63e2..1a9277dd1 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,3 +2,8 @@ . "$(dirname -- "$0")/_/husky.sh" npx lint-staged --concurrent false + +if ! npm run check; then + echo "check script failed" + exit 1 +fi