diff --git a/.husky/commit-msg b/.husky/commit-msg index fa3e2df..62eaff5 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -2,6 +2,6 @@ . "$(dirname $0)/_/husky.sh" npx commitlint -e -npm run test +if [ -z $GAC_VERIFY_SIMPLE ]; then npm run test; fi echo node spellcheck-commit.js diff --git a/.husky/pre-commit b/.husky/pre-commit index 7f715b7..9e70d49 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,5 @@ #!/bin/sh . "$(dirname $0)/_/husky.sh" -npm run lint +if [ -z $GAC_VERIFY_SIMPLE ]; then npm run lint; fi npx lint-staged --concurrent false