From 83acdba531206f92aac4cc486f72cf6aad0f9872 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 14 Nov 2022 08:20:07 +0000 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 d71a03b9f..4c49ae6ae 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" yarn commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index d2ae35e84..5a182ef10 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" yarn lint-staged