sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
6.15k stars 632 forks source link

Bug: some of sdk shell command failure. #1277

Open 350050183 opened 9 months ago

350050183 commented 9 months ago

Bug report

some of sdk shell command failure.

To reproduce

sdk selfupdate force

bash: line 1: syntax error near unexpected token newline' bash: line 1:<!DOCTYPE html>'

sdk list java

return a 404 not found html pagem,even if sdkman version 5.18.2

System info

OS: apple mini M1,x86_64-apple-darwin23.0

zsh --version

zsh 5.9 (x86_64-apple-darwin23.0)

sdk version

SDKMAN! script: 5.18.1 native: 0.2.2

hgeraldino commented 7 months ago

Can't reproduce this on version

SDKMAN!
script: 5.18.2
native: 0.4.6
dheerajchand commented 6 months ago

I am also getting this.

 ~/.dotfiles  d3e09f7d  main ●  curl -s https://get.sdkman.io | bash                                                                      1 ↵  88  18:38:26
bash: line 1: syntax error near unexpected token `newline'
bash: line 1: `<!--# Id: internetaccess.html 285144 2021-06-16 05:02:06Z szhang -->'
 ~/.dotfiles  d3e09f7d  main ●  zsh --version                                                                                           0|2 ↵  89  18:38:44
zsh 5.9 (x86_64-apple-darwin23.0)