Skip to content

Commit cc1469f

Browse files
committed
Cleanp
1 parent cba3c99 commit cc1469f

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)