sdkman / sdkman-hooks

An API responsible for serving up pre- and post- hooks
Other
5 stars 23 forks source link

Bug: Wrong install URL shown after selfupdate #21

Closed hho closed 3 years ago

hho commented 3 years ago

Bug report After updating sdkman itself, a message is shown:

To join our BETA channel, simply follow the instructions on:

   http://sdkman.io/install.html

Enjoy!!!

However, that URL is 404 – only the version without the .html at the end works.

To reproduce Update sdkman. Try opening the shown URL.

System info Ubuntu 20.04 – but I don't think this is relevant for this bug :wink:

marc0der commented 3 years ago

Hi @hho, thanks for that tip! This problem is actually not in the CLI, but in the sdkman-hooks project. I'm moving this issue to the appropriate project.

Also, feel free to raise a PR for this. It's a very easy one and it would be great to have you contributing too! The two affected files are install.scala.txt and selfupdate.scala.txt.

hho commented 3 years ago

Done. I didn't find .html in the install.scala.txt though.