Skip to content

Commit 4b30be7

Browse files
Martinclaude
andcommitted
fix(lefthook): replace hanging doctor prepush with direct test command
- Replace `doctor check --pre-push` (invalid syntax) with `bun run test` - The doctor prepush command was hanging indefinitely during git push - Direct test command is more transparent and works reliably - Pre-push hook now completes in ~2 seconds instead of timing out Resolves pre-push hook hang that required LEFTHOOK=0 to bypass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 9f18dbd commit 4b30be7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lefthook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ pre-commit:
1919

2020
pre-push:
2121
commands:
22-
doctor:
23-
run: ./node_modules/.bin/doctor check --pre-push
22+
test:
23+
run: bun run test

0 commit comments

Comments
 (0)