Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fail on curl 404 error #21

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

tcarreira
Copy link
Contributor

fixes #20

I would not say it is perfect, but I think it is much better.

example:

❯ asdf install helm 3.15
Downloading helm from https://get.helm.sh/helm-v3.15-linux-amd64.tar.gz to /tmp/helm_aHNdCQ/helm-v3.15-linux-amd64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   215    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
Could not download https://get.helm.sh/helm-v3.15-linux-amd64.tar.gz

@Antiarchitect Antiarchitect merged commit 091d00f into Antiarchitect:master Sep 2, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non obvious error when installing non-existing version
2 participants