From 0a6ad22d0d4191b41a4f25a7c7f6f37d46e99074 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 14 Nov 2022 11:43:48 +0000 Subject: [PATCH] Husky shell path and arg updates (#137) --- .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