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

Since nvm v0.40.0 .nvmrc may contain comments #397

Open
sdavids opened this issue Aug 6, 2024 · 2 comments
Open

Since nvm v0.40.0 .nvmrc may contain comments #397

sdavids opened this issue Aug 6, 2024 · 2 comments

Comments

@sdavids
Copy link

sdavids commented Aug 6, 2024

Since nvm v0.40.0 .nvmrc may contain comments.

[New] allow .nvmrc files to support comments


.nvmrc

# comment
20.16.0

This will not work anymore:

resolve_version "$(cat "$1")"

@nmay231
Copy link

nmay231 commented Aug 15, 2024

Also, .nvmrc can just list the major version (e.g. 18), but this package doesn't support just being given the major version. Unless that's a limitation of asdf itself, but I don't remember it being...

@augustobmoura
Copy link
Member

augustobmoura commented Aug 15, 2024

Also, .nvmrc can just list the major version (e.g. 18), but this package doesn't support just being given the major version. Unless that's a limitation of asdf itself, but I don't remember it being...

We do support partial versions inside .nvmrc check the README section about it

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

No branches or pull requests

3 participants