diff --git a/.husky/pre-commit b/.husky/pre-commit index 07915ca..422df14 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,7 +1,7 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm run lint || npm install && npm run lint +npm run lint || (npm install && npm run lint) npm run test npm run build && git add dist/ #ff \ No newline at end of file