Commit a26a5b4
committed
fix: normalize paths starting with './' and fix OS-dependency issue
- Use forward slash for splitting after toPosix() conversion
- Remove leading './' from paths like './src' to normalize them to 'src'
- Update test expectations to match correct behavior1 parent 11413fb commit a26a5b4
File tree
2 files changed
+6
-6
lines changed- src/services/code-index/vector-store
- __tests__
2 files changed
+6
-6
lines changedLines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1679 | 1679 | | |
1680 | 1680 | | |
1681 | 1681 | | |
1682 | | - | |
1683 | | - | |
1684 | | - | |
1685 | | - | |
1686 | 1682 | | |
1687 | 1683 | | |
1688 | 1684 | | |
1689 | | - | |
| 1685 | + | |
1690 | 1686 | | |
1691 | 1687 | | |
1692 | 1688 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
385 | 389 | | |
386 | 390 | | |
387 | 391 | | |
| |||
0 commit comments