diff --git a/.husky/pre-commit b/.husky/pre-commit index 1a7a1f3ea..87ea02a11 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,3 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" npm run pre-commit diff --git a/package.json b/package.json index 0bbf30751..484da313b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "story:preview": "histoire preview", "test": "vitest", "coverage": "vitest run --coverage", - "prepare": "husky install", + "prepare": "husky", "pre-commit": "lint-staged" }, "lint-staged": {