mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Merge #3288
3288: Quick fix circular json error when sanity-check fails r=matklad a=Veetaha Related issue: #3280 Co-authored-by: Veetaha <gerzoh1@gmail.com>
This commit is contained in:
commit
223a6676fd
1 changed files with 5 additions and 2 deletions
|
@ -88,9 +88,12 @@ async function downloadServer(source: BinarySource.GithubRelease): Promise<boole
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!isBinaryAvailable(path.join(source.dir, source.file))) assert(false,
|
||||
const binaryPath = path.join(source.dir, source.file);
|
||||
|
||||
if (!isBinaryAvailable(binaryPath)) assert(false,
|
||||
`Downloaded language server binary is not functional.` +
|
||||
`Downloaded from: ${JSON.stringify(source, null, 4)}`
|
||||
`Downloaded from GitHub repo ${source.repo.owner}/${source.repo.name} ` +
|
||||
`to ${binaryPath}`
|
||||
);
|
||||
|
||||
vscode.window.showInformationMessage(
|
||||
|
|
Loading…
Reference in a new issue