From c98fb33b5d72d3e498a2e97a610a5ed747f45da2 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Tue, 23 Aug 2022 09:47:47 +0100 Subject: [PATCH] chore(.husky): shell path and arg updates (#132) --- .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 e8511ea..1a089f4 100644 --- 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-install commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index 64380ef..ecb6451 100644 --- 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" npm run lint:prettier:ci && npm run lint:licenses && npm test