When you visit the download page on macOS with noscript enabled, an extra section of the instructions pops up with a brew command that doesn't work:
When you run the command, you get the following output:
Error: Cask 'haskell-platform' is unavailable: No Cask with this name exists.
I ran into this problem when I was helping somebody install Haskell and they got confused. This problem didn't happen on my machine because I had JS enabled. Having this section seems unnecessary and could lead to confusion, so this PR removes the section from the download page HTML template. I'm not sure if I need to change any other files along with this change.
For reference, this is what the page looks like with JS enabled, even without this PR. The section with the brew command is present in the HTML but invisible.
When you visit the download page on macOS with noscript enabled, an extra section of the instructions pops up with a
brew
command that doesn't work:When you run the command, you get the following output:
I ran into this problem when I was helping somebody install Haskell and they got confused. This problem didn't happen on my machine because I had JS enabled. Having this section seems unnecessary and could lead to confusion, so this PR removes the section from the download page HTML template. I'm not sure if I need to change any other files along with this change.
For reference, this is what the page looks like with JS enabled, even without this PR. The section with the
brew
command is present in the HTML but invisible.