Commit 9ab3b02
fix(hooks): expand tilde in cd path before directory check
[ -d "~/path" ] doesn't expand tilde inside quotes, causing cross-repo
commits using ~/path syntax to silently drop TARGET_DIR and fall back
to the starter kit CWD (main), triggering a false branch block.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a364e88 commit 9ab3b02
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments