Skip to content

Commit 596ea91

Browse files
committed
chore: update husky file
1 parent 295940f commit 596ea91

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.husky/commit-msg

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

4-
pnpm commitlint -E HUSKY_GIT_PARAMS
4+
pnpm commitlint --edit $1 --config commitlint.config.js

.husky/pre-commit

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

4-
pnpm lint-staged
4+
pnpm lint-staged --allow-empty

0 commit comments

Comments
 (0)