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