Skip to content

Commit 0a6ad22

Browse files
authored
Husky shell path and arg updates (#137)
1 parent 14b44c7 commit 0a6ad22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.husky/commit-msg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

44
npx --no -- commitlint --edit $1

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

44
npx --no -- lint-staged

0 commit comments

Comments
 (0)