From e0fa096bbb73ce4fb44848e334f1001c43cc9b74 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 30 Dec 2019 09:51:44 +0100 Subject: Add rollup --- editors/code/src/server.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'editors/code/src') diff --git a/editors/code/src/server.ts b/editors/code/src/server.ts index ae81af848..e1ad0520b 100644 --- a/editors/code/src/server.ts +++ b/editors/code/src/server.ts @@ -1,5 +1,4 @@ -import { lookpath } from 'lookpath'; -import { homedir, platform } from 'os'; +import { homedir } from 'os'; import * as lc from 'vscode-languageclient'; import { window, workspace } from 'vscode'; @@ -29,15 +28,6 @@ export class Server { } const command = expandPathResolving(this.config.raLspServerPath); - // FIXME: remove check when the following issue is fixed: - // https://github.com/otiai10/lookpath/issues/4 - if (platform() !== 'win32') { - if (!(await lookpath(command))) { - throw new Error( - `Cannot find rust-analyzer server \`${command}\` in PATH.`, - ); - } - } const run: lc.Executable = { command, options: { cwd: folder }, -- cgit v1.2.3