Skip to content

Commit dbd4b91

Browse files
committed
updated husky
1 parent 1befd17 commit dbd4b91

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.husky/pre-push

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
. "$(dirname -- "$0")/_/husky.sh"
2-
31
echo "🔍 Running automatic fixes before pushing..."
4-
pnpm fix
2+
# Use npx to ensure pnpm is found, or use the full path
3+
npx pnpm fix
54

65
# Check if there are any changes after running fixes
76
if [ -n "$(git status --porcelain)" ]; then

0 commit comments

Comments
 (0)