From d1db8437af0c419aacda8d1d8cd9b56796a3a53c Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Thu, 1 Sep 2022 07:54:31 +0100 Subject: [PATCH] chore(.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 36af219..d24fdfc 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