Skip to content

Commit 49b9c8a

Browse files
bors[bot]matklad
andauthored
Merge #3293
3293: Cleanp r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents cba3c99 + cc1469f commit 49b9c8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editors/code/src/installation/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ async function downloadServer(source: BinarySource.GithubRelease): Promise<boole
8989
}
9090

9191
const binaryPath = path.join(source.dir, source.file);
92-
93-
if (!isBinaryAvailable(binaryPath)) assert(false,
92+
93+
assert(isBinaryAvailable(binaryPath),
9494
`Downloaded language server binary is not functional.` +
9595
`Downloaded from GitHub repo ${source.repo.owner}/${source.repo.name} ` +
9696
`to ${binaryPath}`

0 commit comments

Comments
 (0)