From fa7b91a2f7732d78f1b7af52fc26bcf57f1c0044 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sun, 9 Feb 2020 21:55:29 +0200 Subject: vscode: removed unnecessary awaits --- editors/code/src/installation/language_server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/code/src/installation') diff --git a/editors/code/src/installation/language_server.ts b/editors/code/src/installation/language_server.ts index 1ce67b8b2..9fb1ce42e 100644 --- a/editors/code/src/installation/language_server.ts +++ b/editors/code/src/installation/language_server.ts @@ -100,12 +100,12 @@ export async function ensureLanguageServerBinary( try { await downloadLatestLanguageServer(langServerSource); } catch (err) { - await vscode.window.showErrorMessage( + vscode.window.showErrorMessage( `Failed to download language server from ${langServerSource.repo.name} ` + `GitHub repository: ${err.message}` ); - await dns.resolve('www.google.com').catch(err => { + dns.resolve('www.google.com').catch(err => { console.error("DNS resolution failed, there might be an issue with Internet availability"); console.error(err); }); -- cgit v1.2.3