Unnamed repository; edit this file 'description' to name the repository.
Merge #11144
11144: fix: Fix server path on NixOS r=lnicola a=lnicola See https://github.com/rust-analyzer/rust-analyzer/commit/c0d0ceefb29111732cacf39dbb57fe9f3ce25ee8#commitcomment-62688259. bors r+ Co-authored-by: LaurenČ›iu Nicola <[email protected]>
bors[bot] 2021-12-30
parent 22ccb1a · parent 0182f74 · commit 3d63abf
-rw-r--r--editors/code/src/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index df7580b9bc..3f9f0b3376 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -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;