Skip to content

Conversation

reegnz
Copy link

@reegnz reegnz commented Sep 4, 2025

Summary

In the bash version it was not only uppercasing, but also replacing - with _ (because - is not a valid character for env vars).

See original code for reference:
https://github.com/asdf-vm/asdf/blame/master/lib/commands/command-export-shell-version.bash#L20-L21

Other Information

In the bash version, it was not only uppercasing, but also replacing `-` with `_` (because `-` is not a valid character for env vars).

See original code for reference:
https://github.com/asdf-vm/asdf/blame/master/lib/commands/command-export-shell-version.bash#L20-L21
@reegnz reegnz requested a review from a team as a code owner September 4, 2025 23:31
@reegnz reegnz changed the title Restore backward compatibility of ASDF_{TOOL}_VERSION env vars fix: restore backward compatibility of ASDF_{TOOL}_VERSION env vars Sep 4, 2025
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.

1 participant