[ide-mode] Fix path delimiter for multi-root workspaces on Windows (#6273)

Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
Sunny Sachanandani
2025-08-15 15:58:31 -07:00
committed by GitHub
parent 3c0af3654a
commit 4896c7739f
4 changed files with 43 additions and 7 deletions

View File

@@ -272,7 +272,7 @@ export class IdeClient {
};
}
const ideWorkspacePaths = ideWorkspacePath.split(':');
const ideWorkspacePaths = ideWorkspacePath.split(path.delimiter);
const realCwd = getRealPath(cwd);
const isWithinWorkspace = ideWorkspacePaths.some((workspacePath) => {
const idePath = getRealPath(workspacePath);