From 87b2113b015b8793ef9976a115ba6baa86434900 Mon Sep 17 00:00:00 2001 From: Munjal Dhamecha Date: Sun, 21 Jul 2024 13:02:34 +0530 Subject: [PATCH] fix: correct the husky setup --- .husky/pre-commit | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af2198..2312dc58 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index e3632073..70a0a3ee 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "generate": "node dist/generate.js", "lint": "eslint --ext .ts .", "lint:fix": "npm run lint -- --fix", - "prepare": "husky install", + "prepare": "husky", "release": "standard-version", "release:mock": "npm run release -- --dry-run", "test": "jest --detectOpenHandles --coverage",