dvm icon indicating copy to clipboard operation
dvm copied to clipboard

confusing behavior of dvm use/dvm install

Open karfau opened this issue 1 year ago • 0 comments

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?

karfau avatar Nov 27 '24 19:11 karfau