From a77fa5589c1e03608916c1686e19d2cc826d7260 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 20 Mar 2023 23:11:49 +0000 Subject: [PATCH] Fix Git hooks --- .husky/pre-commit | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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": {