From 8b304a72f6a85a1463225d73041a28b234ca26e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Thu, 23 Dec 2021 09:50:09 +0200 Subject: [PATCH] Remove ETXTBUSY check, we don't overwrite binaries --- editors/code/src/main.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 4628bf4b3c..3652a613cf 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts @@ -30,11 +30,6 @@ async function tryActivate(context: vscode.ExtensionContext) { const serverPath = await bootstrap(context, config, state).catch(err => { let message = "bootstrap error. "; - if (err.code === "EBUSY" || err.code === "ETXTBSY" || err.code === "EPERM") { - message += "Other vscode windows might be using rust-analyzer, "; - message += "you should close them and reload this window to retry. "; - } - message += 'See the logs in "OUTPUT > Rust Analyzer Client" (should open automatically). '; message += 'To enable verbose logs use { "rust-analyzer.trace.extension": true }';