mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-11 22:51:26 +00:00
fix: normalize file paths to POSIX format in search results (#2569)
This commit is contained in:
parent
caf1ae35e1
commit
494af3090a
1 changed files with 1 additions and 0 deletions
|
|
@ -139,6 +139,7 @@ export async function searchWorkspaceFiles(
|
|||
const isDirectory = fs.lstatSync(fullPath).isDirectory()
|
||||
return {
|
||||
...result,
|
||||
path: result.path.toPosix(),
|
||||
type: isDirectory ? ("folder" as const) : ("file" as const),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue