diff --git a/.husky/pre-commit b/.husky/pre-commit index bbf64071..dc0378c3 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -cd beta yarn lint-staged \ No newline at end of file diff --git a/package.json b/package.json index 5d26aa10..b6a78db5 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "ci-check": "npm-run-all prettier:diff --parallel lint tsc lint-heading-ids", "tsc": "tsc --noEmit", "start": "next start", - "postinstall": "patch-package && (is-ci || (cd .. && husky install .husky))", + "postinstall": "patch-package && (is-ci || husky install .husky)", "check-all": "npm-run-all prettier lint:fix tsc" }, "dependencies": {