Files
nanoclaw/.husky/pre-commit
T
gavrielc 25a5b81c59 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>
2026-05-09 20:26:48 +03:00

3 lines
94 B
Plaintext

pnpm run format:fix
git diff --name-only -- 'src/**/*.ts' | xargs git add 2>/dev/null || true