diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-24 14:41:37 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-24 14:41:37 +0000 |
commit | 49b9c8a0524e53f9bd75b50b6e87d7d88587629f (patch) | |
tree | 27c760a47051147b61ed5bec7bffccdc615fc14c /editors | |
parent | cba3c991c8188e87363bbff190e9528606140808 (diff) | |
parent | cc1469fe9e905799175bf7136b6909683b46b304 (diff) |
Merge #3293
3293: Cleanp r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/installation/server.ts | 4 |
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}` |