aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorVladimir Serov <[email protected]>2020-05-21 19:32:27 +0100
committerVladimir Serov <[email protected]>2020-05-21 19:32:27 +0100
commitec5162fa7f2344ea86e11237383cb9d5ce5707aa (patch)
treea9cb401816f8222998ba69c76bc3bb4d03dd801c /editors/code/src
parent757292856b5d3653926e52dd4da473b062b9a832 (diff)
editors/vscode: forgotten await in os check
Diffstat (limited to 'editors/code/src')
-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 dbb241192..42685e0c7 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -280,7 +280,7 @@ async function getServer(config: Config, state: PersistentState): Promise<string
280 await download(artifact.browser_download_url, dest, "Downloading rust-analyzer server", { mode: 0o755 }); 280 await download(artifact.browser_download_url, dest, "Downloading rust-analyzer server", { mode: 0o755 });
281 281
282 // Patching executable if that's NixOS. 282 // Patching executable if that's NixOS.
283 if (fs.stat("/etc/nixos").then(_ => true).catch(_ => false)) { 283 if (await fs.stat("/etc/nixos").then(_ => true).catch(_ => false)) {
284 await patchelf(dest); 284 await patchelf(dest);
285 } 285 }
286 286