diff options
Diffstat (limited to '.husky')
| -rwxr-xr-x | .husky/commit-msg | 6 | ||||
| -rwxr-xr-x | .husky/pre-commit | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.husky/commit-msg b/.husky/commit-msg index e8511ea..80416c7 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-install commitlint --edit $1 +npx --no-install commitlint --edit "$1" diff --git a/.husky/pre-commit b/.husky/pre-commit index d2ae35e..5a182ef 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 |
