[New] allow .nvmrc files to support comments
In theory, `npx nvmrc` can now be used to validate an `.nvmrc` file that `nvm` will support. Allowances have been made for future extensibility, and aliases may no longer contain a `#`. Fixes #3336. Closes #2288. Co-authored-by: Jordan Harband <ljharb@gmail.com> Co-authored-by: Yash Singh <saiansh2525@gmail.com>
This commit is contained in:
1 parent
95081f0bc2
commit
29dce5edfd
8 files changed
+278
-3
No files matched your search
+1
Submodule test/fixtures/nvmrc added at 0d325aa903.
Reference in new issue
Block a user