Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/client.ts')
-rw-r--r--editors/code/src/client.ts11
1 files changed, 1 insertions, 10 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts
index 916e266cfd..357f131b93 100644
--- a/editors/code/src/client.ts
+++ b/editors/code/src/client.ts
@@ -42,16 +42,7 @@ export async function createClient(
const resp = await next(params, token);
if (resp && Array.isArray(resp)) {
return resp.map((val) => {
- return prepareVSCodeConfig(val, (key, cfg) => {
- // we only want to set discovered workspaces on the right key
- // and if a workspace has been discovered.
- if (
- key === "linkedProjects" &&
- config.discoveredWorkspaces.length > 0
- ) {
- cfg[key] = config.discoveredWorkspaces;
- }
- });
+ return prepareVSCodeConfig(val);
});
} else {
return resp;