fix: re-stage prettier-formatted files in pre-commit hook
The hook ran format:fix but didn't re-stage the modified files, so commits went through with unformatted code and CI caught the diff. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
f33f2d89ce
commit
25a5b81c59
@@ -1 +1,2 @@
|
||||
pnpm run format:fix
|
||||
git diff --name-only -- 'src/**/*.ts' | xargs git add 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user