From 36e4b0e9bbaae6f9b49a619e3c660aa4dd0d79b4 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sat, 12 Nov 2022 20:38:42 +0000 Subject: [PATCH] chore(.husky): shell path and arg updates v8.0.0 of Husky fixed shell path and args for newly created git hooks, but doesn't update existing ones, so have done that here. See https://github.com/typicode/husky/pull/1051 and https://github.com/typicode/husky/pull/1132 --- .husky/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af2198..d24fdfc6 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" npx lint-staged