Skip to content

confusing behavior of dvm use/dvm install #211

@karfau

Description

@karfau

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 suddenly it works!

Turns out that when the file is modified manually to upgrade the version, and 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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions