@@ -45,9 +45,6 @@ async function downloadTool(name) {
45 const storagePath = getStorageForTool(name);
45 const storagePath = getStorageForTool(name);
46 console.log("Downloading " + storagePath);
46 console.log("Downloading " + storagePath);
47 const urls = await getHLSAssets();
47 const urls = await getHLSAssets();
48− if (!(name in urls)) {
49− sendPermanentNotification("There is no pre-built HLS for GHC " + name ,"There is no pre-built version of HLS for GHC " + name + ". You can either build HLS yourself or update your project to one of the pre-built versions: https://github.com/haskell/haskell-language-server/releases")
51 const response = await fetch(urls[name]);
48 const response = await fetch(urls[name]);
52 if (!response.ok) {
49 if (!response.ok) {
53 console.error(response.statusText);
50 console.error(response.statusText);
@@ -197,3 +194,4 @@ function which(name) {
197 shell: true,
194 shell: true,
198 }).then((p) => p.trim())
195 }).then((p) => p.trim())