From e1b113c37c95cf4e4f77d1c0fc26d0390e09674d Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Thu, 25 Jun 2026 13:30:37 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .husky/pre-commit | 3 +++ .husky/pre-push | 3 +++ package.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 2312dc58..d24fdfc6 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + npx lint-staged diff --git a/.husky/pre-push b/.husky/pre-push index 192cb67e..7d6707f9 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + npm run build && npm test diff --git a/package.json b/package.json index c1cd13f4..146ff1ff 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "lint:fix": "eslint --config ./.eslintrc.js \"**/*.ts\" --fix", "check": "npm run format-check && npm run lint && npm run build && npm test", "fix": "npm run format && npm run lint:fix && npm run build", - "prepare": "husky", + "prepare": "husky install", "prerelease": "npm run-script build", "release": "git add -f dist/setup/index.js dist/cleanup/index.js", "test": "jest"