fix(fs-search): respect platform path separators

Group paths using node:path.sep so POSIX backslashes remain filename characters while Windows continues to treat them as separators.
This commit is contained in:
Tianyi Cui
2026-07-30 22:20:15 +08:00
parent 72220dd821
commit 48b0cb25fd
4 changed files with 36 additions and 10 deletions
+2
View File
@@ -3,6 +3,8 @@ printf '%s\n' \
'archive/a.ts' \
'archive/b.ts' \
'archive/c.ts' \
'old\one' \
'old\two' \
'src/index.ts' \
'docs/guide.md' \
'test/spec.ts'