Commit c8bca3b
committed
fix(cli): detect case-variant collisions in Phase 1 of file resolution
Phase 1 returned the first exact match without checking for
case-variant duplicates (e.g. .spm.json and .SPM.json coexisting on
a case-sensitive filesystem). Now checks for collisions before
returning, matching the existing Phase 2 behaviour.1 parent a9e4ff7 commit c8bca3b
1 file changed
Lines changed: 11 additions & 0 deletions
File tree
- src/cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
75 | 86 | | |
76 | 87 | | |
77 | 88 | | |
| |||
0 commit comments