Commit c85804d
fix: make detectGit test resilient to CI detached HEAD
GitHub Actions checks out in detached HEAD state, so
git branch --show-current returns empty. The test now
accepts undefined branch in that case.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f11614f commit c85804d
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments