summaryrefslogtreecommitdiff
path: root/packages/core/src/ide/ide-client.ts
diff options
context:
space:
mode:
authorSunny Sachanandani <[email protected]>2025-08-15 15:58:31 -0700
committerGitHub <[email protected]>2025-08-15 22:58:31 +0000
commit4896c7739f57b4e475754854c217cdd1dbf7deaa (patch)
tree7c00842d3b7a0ba63b2f25b9cb7ca102b4a91093 /packages/core/src/ide/ide-client.ts
parent3c0af3654ac5491e79c6f9b55de5debf0e1e13c1 (diff)
[ide-mode] Fix path delimiter for multi-root workspaces on Windows (#6273)
Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'packages/core/src/ide/ide-client.ts')
-rw-r--r--packages/core/src/ide/ide-client.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/ide/ide-client.ts b/packages/core/src/ide/ide-client.ts
index 5ec0bb5c..f8ba6ef5 100644
--- a/packages/core/src/ide/ide-client.ts
+++ b/packages/core/src/ide/ide-client.ts
@@ -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);