diff options
| author | Kirill Bulatov <mail4score@gmail.com> | 2021-05-26 01:11:52 +0300 |
|---|---|---|
| committer | Kirill Bulatov <mail4score@gmail.com> | 2021-05-26 01:11:52 +0300 |
| commit | a05163db1429bfb8cf30dbea4b1aa86a24258d49 (patch) | |
| tree | 66c7568f1c1ca8cb6defd22279c1a160afe79623 /editors/code/src/client.ts | |
| parent | 5587d0a3e3599063a8993e9a44a7628abbabae8b (diff) | |
| download | rust-a05163db1429bfb8cf30dbea4b1aa86a24258d49.tar.gz rust-a05163db1429bfb8cf30dbea4b1aa86a24258d49.zip | |
Create tasks for all workspaces
Diffstat (limited to 'editors/code/src/client.ts')
| -rw-r--r-- | editors/code/src/client.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 69dbe253537..f13ae07e148 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, |
