Skip to content

Commit

Permalink
update husky script
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowsink committed Sep 20, 2024
1 parent e28d78b commit 3e50f61
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run format
for file in $(git diff --name-only --cached); do
git add "$file" || true
done
done

0 comments on commit 3e50f61

Please sign in to comment.