Commit f022780
fix(hooks): prevent post-merge hook failure on no dependency changes (#16)
## Summary
- Fix `grep` exit code 1 propagating as hook failure when no dependency
files changed
- Add `|| true` to suppress non-zero exit from `grep` with no matches
## Test plan
- [x] Merge a branch that doesn't change `package.json` or
`pnpm-lock.yaml` — no hook error
- [x] Merge a branch that changes dependencies — reminder message still
shown
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent fc614eb commit f022780
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments