vscode: add version and storage parameters to github binary source

This commit is contained in:
Veetaha 2020-02-16 03:08:36 +02:00
parent d976772716
commit 8533fc437b
5 changed files with 35 additions and 3 deletions

View file

@ -11,7 +11,7 @@ export async function createClient(config: Config): Promise<null | lc.LanguageCl
// It might be a good idea to test if the uri points to a file.
const workspaceFolderPath = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath ?? '.';
const serverPath = await ensureServerBinary(config.serverBinarySource);
const serverPath = await ensureServerBinary(config.serverSource);
if (!serverPath) return null;
const run: lc.Executable = {