Commit 15d9f82
fix: normalize paths for filePushOrder matching
Fixes an issue where `filePushOrder` fails to properly match and sort files
on Windows or when paths have mixed directory separators (e.g. `\` vs `/`).
By calling `path.normalize()` on both the files' `localPath` and the
paths configured in `filePushOrder`, we ensure a consistent format is used
for matching and ordering.
Co-authored-by: sqrrrl <346343+sqrrrl@users.noreply.github.com>1 parent 8bccc4e commit 15d9f82
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
448 | 449 | | |
449 | | - | |
450 | | - | |
| 450 | + | |
| 451 | + | |
451 | 452 | | |
452 | 453 | | |
453 | 454 | | |
| |||
510 | 511 | | |
511 | 512 | | |
512 | 513 | | |
513 | | - | |
514 | | - | |
| 514 | + | |
| 515 | + | |
515 | 516 | | |
516 | | - | |
| 517 | + | |
517 | 518 | | |
518 | 519 | | |
519 | 520 | | |
| |||
0 commit comments