From a05163db1429bfb8cf30dbea4b1aa86a24258d49 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Wed, 26 May 2021 01:11:52 +0300 Subject: Create tasks for all workspaces --- editors/code/src/client.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'editors/code/src/client.ts') diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 69dbe2535..f13ae07e1 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts @@ -32,14 +32,9 @@ export function createClient(serverPath: string, workspace: Workspace, extraEnv: const newEnv = Object.assign({}, process.env); Object.assign(newEnv, extraEnv); - let cwd = undefined; - if (workspace.kind === "Workspace Folder") { - cwd = workspace.folder.fsPath; - }; - const run: lc.Executable = { command: serverPath, - options: { cwd, env: newEnv }, + options: { env: newEnv }, }; const serverOptions: lc.ServerOptions = { run, -- cgit v1.2.3