11144: fix: Fix server path on NixOS r=lnicola a=lnicola

See c0d0ceefb2 (commitcomment-62688259).

bors r+

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
bors[bot] 2021-12-30 12:52:05 +00:00 committed by GitHub
commit 3d63abf1d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,8 +243,8 @@ async function getServer(context: vscode.ExtensionContext, config: Config, state
if (!exists) {
await vscode.workspace.fs.copy(bundled, dest);
await patchelf(dest);
server = dest;
}
server = dest;
}
await state.updateServerVersion(config.package.version);
return server.fsPath;