Skip to content

Commit 694266d

Browse files
committed
fix: update Husky hooks to remove deprecated format for compatibility with v10
1 parent 008951e commit 694266d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.husky/pre-commit

100644100755
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env sh
2-
31
# Run lint-staged for staged files
42
pnpm lint-staged
53

.husky/pre-push

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
# Run the pre-push check script
5-
bash ./scripts/pre-push-check.sh
2+
bash ./scripts/pre-push-check.sh

0 commit comments

Comments
 (0)