We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff71436 commit 0d58446Copy full SHA for 0d58446
src/hlsBinaries.ts
@@ -129,7 +129,10 @@ export async function downloadServer(
129
130
const assetName = `haskell-language-server-${githubOS}-${ghcVersion}.gz`;
131
const asset = release?.assets.find((x) => x.name === assetName);
132
- if (!release || !asset) {
+ if (!asset) {
133
+ window.showErrorMessage(
134
+ `Couldn't find any pre-built haskell-language-server binaries for ${githubOS} and ${ghcVersion}`
135
+ );
136
return null;
137
}
138
const binaryURL = url.parse(asset.browser_download_url);
0 commit comments