diff --git a/.husky/pre-push b/.husky/pre-push index 669150c91..de76f888d 100644 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1 +1,8 @@ -npm run lint && { [ "$PRE_PUSH_RUN_TEST" = "true" ] && npm test; } || exit 0 +#!/bin/sh +set -e + +npm run lint + +if [ "$PRE_PUSH_RUN_TEST" = "true" ]; then + npm test +fi