From 02ed5046e5e897d4d1c4e53f4e96949eb7745852 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 14 Nov 2022 08:32:19 +0000 Subject: [PATCH] Husky shell path and arg updates --- .husky/commit-msg | 4 ++-- .husky/pre-commit | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 5a85000..e810522 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" npx --no -- commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index 3b9119c..2330023 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 --no -- lint-staged