Fix server path on NixOS

This commit is contained in:
Laurențiu Nicola 2021-12-30 14:50:54 +02:00
parent 355a4bdb88
commit 0182f74516

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;