on 58955ee help sign in
2 files changed+1−5
since splitsnapshots
unifiedsplit
Haskell Language Server.novaextension/Scripts/download.js+1−3 Haskell Language Server.novaextension/Scripts/utils.js−2
Haskell Language Server.novaextension/Scripts/download.js+1−3
@@ -45,9 +45,6 @@ async function downloadTool(name) {
4545 const storagePath = getStorageForTool(name);
4646 console.log("Downloading " + storagePath);
4747 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")
50− }
5148 const response = await fetch(urls[name]);
5249 if (!response.ok) {
5350 console.error(response.statusText);
@@ -197,3 +194,4 @@ function which(name) {
197194 shell: true,
198195 }).then((p) => p.trim())
199196}
197+
Haskell Language Server.novaextension/Scripts/utils.js−2
@@ -120,8 +120,6 @@ async function createEnv() {
120120 const envStr = await promise
121121 .catch((err) => sendPermanentNotification("Generating environment failed", err))
122122 envCache = parseEnvs(envStr)
123− } else {
124− envCache = {}
125123 }
126124}
127125