Merge #3293
3293: Cleanp r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
@@ -89,8 +89,8 @@ async function downloadServer(source: BinarySource.GithubRelease): Promise<boole
|
|||||||
}
|
}
|
||||||
|
|
||||||
const binaryPath = path.join(source.dir, source.file);
|
const binaryPath = path.join(source.dir, source.file);
|
||||||
|
|
||||||
if (!isBinaryAvailable(binaryPath)) assert(false,
|
assert(isBinaryAvailable(binaryPath),
|
||||||
`Downloaded language server binary is not functional.` +
|
`Downloaded language server binary is not functional.` +
|
||||||
`Downloaded from GitHub repo ${source.repo.owner}/${source.repo.name} ` +
|
`Downloaded from GitHub repo ${source.repo.owner}/${source.repo.name} ` +
|
||||||
`to ${binaryPath}`
|
`to ${binaryPath}`
|
||||||
|
|||||||
Reference in New Issue
Block a user