mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-26 07:11:11 -05:00
Normalize all file paths to posix format when presenting to AI or user
This commit is contained in:
@@ -30,7 +30,7 @@ export async function parseSourceCodeForDefinitionsTopLevel(dirPath: string): Pr
|
||||
for (const file of filesToParse) {
|
||||
const definitions = await parseFile(file, languageParsers)
|
||||
if (definitions) {
|
||||
result += `${path.relative(dirPath, file)}\n${definitions}\n`
|
||||
result += `${path.relative(dirPath, file).toPosix()}\n${definitions}\n`
|
||||
}
|
||||
// else {
|
||||
// filesWithoutDefinitions.push(file)
|
||||
|
||||
Reference in New Issue
Block a user