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

fix: don't error if version already installed #1952

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivanvc
Copy link

@ivanvc ivanvc commented Feb 14, 2025

Summary

If a version is already installed in all scenarios (i.e., asdf install, asdf install [tool], asdf install [tool] [version]), don't exit with an error. Print the message that the tool is installed and do a clean exit, following the behavior before 0.16.0.

Supersedes #1900.
Fixes #1893.

Other Information

Added unit tests and bats tests.

@ivanvc ivanvc requested a review from a team as a code owner February 14, 2025 05:00
If a version is already installed in all scenarios (i.e., asdf install,
asdf install <tool>, asdf install <tool> <version>), don't exit with an
error. Print the message that the tool is installed and do a clean exit,
following the behavior before 0.16.0.

Co-authored-by: Ruby Nealon <[email protected]>
@ivanvc
Copy link
Author

ivanvc commented Feb 14, 2025

cc. @Stratus3D

@rubyroobs
Copy link

Thank you @ivanvc ! 🙏🙇‍♀️

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.

bug: [0.16.0] asdf install when successful exits with 1
2 participants