From 26057839415a3cc8d8b6ce35511a9c12ea3f2853 Mon Sep 17 00:00:00 2001 From: Dmytro Date: Wed, 31 Jul 2024 13:15:27 +0300 Subject: [PATCH] chore: Update Husky pre-commit script --- .husky/pre-commit | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af219..a16d8b1 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh . "$(dirname "$0")/_/husky.sh" npx lint-staged diff --git a/package.json b/package.json index c836bbd..327d887 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "format": "prettier --write \"packages/**/*.ts\"", "lint": "turbo run lint", "lint:fix": "turbo run lint:fix", - "prepare": "husky install", + "prepare": "husky", "test": "turbo run test", "version": "cd ./packages/scripts && npm run version" }, @@ -33,4 +33,4 @@ "*.ts": "prettier --write" }, "packageManager": "npm@10.7.0" -} \ No newline at end of file +}