Skip to content

Commit 4656e94

Browse files
chore(husky): tidy commit-msg and pre-commit
1 parent da16990 commit 4656e94

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 commitlint --edit $1

.husky/pre-commit

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

44
npm run test:ci
55
npm run test:esm

0 commit comments

Comments
 (0)