From c80fe0d385f46c74162c2ed3f1ebf17ff6aeccf5 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 14 Nov 2022 08:30:41 +0000 Subject: [PATCH] chore(.husky): shell path and arg updates (#1285) --- .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