aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-24 14:41:37 +0000
committerGitHub <[email protected]>2020-02-24 14:41:37 +0000
commit49b9c8a0524e53f9bd75b50b6e87d7d88587629f (patch)
tree27c760a47051147b61ed5bec7bffccdc615fc14c
parentcba3c991c8188e87363bbff190e9528606140808 (diff)
parentcc1469fe9e905799175bf7136b6909683b46b304 (diff)
Merge #3293
3293: Cleanp r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r--editors/code/src/installation/server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/installation/server.ts b/editors/code/src/installation/server.ts
index 5afce4101..9de257dd5 100644
--- a/editors/code/src/installation/server.ts
+++ b/editors/code/src/installation/server.ts
@@ -89,8 +89,8 @@ async function downloadServer(source: BinarySource.GithubRelease): Promise<boole
89 } 89 }
90 90
91 const binaryPath = path.join(source.dir, source.file); 91 const binaryPath = path.join(source.dir, source.file);
92 92
93 if (!isBinaryAvailable(binaryPath)) assert(false, 93 assert(isBinaryAvailable(binaryPath),
94 `Downloaded language server binary is not functional.` + 94 `Downloaded language server binary is not functional.` +
95 `Downloaded from GitHub repo ${source.repo.owner}/${source.repo.name} ` + 95 `Downloaded from GitHub repo ${source.repo.owner}/${source.repo.name} ` +
96 `to ${binaryPath}` 96 `to ${binaryPath}`