Skip to content
New issue

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

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

Already on GitHub? # to your account

confusing behavior of dvm use/dvm install #211

Open
karfau opened this issue Nov 27, 2024 · 0 comments
Open

confusing behavior of dvm use/dvm install #211

karfau opened this issue Nov 27, 2024 · 0 comments
Assignees

Comments

@karfau
Copy link

karfau commented Nov 27, 2024

I was trying to figure out why dvm use and dvm install don't install the version listed in .dvmrc.
I read the docs again and used dvm install --local <semver> and suddnrly it works!

Turns out that when the file is modified manually to upgrade the version, ind an additional line is added to the end of the file, the version is seen as invalid and overridden with latest.

Would it be possible to trim the file content before trying to use it, to avoid any issues with surrounding white space/new lines?

@justjavac justjavac self-assigned this Nov 28, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants