-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
[Fix] nvm install
: show proper version in .nvmrc
install instructions
#2770
[Fix] nvm install
: show proper version in .nvmrc
install instructions
#2770
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! You added unit tests for nvm_ensure_version_installed
, but no nvm run
or nvm use
tests that test the output when there's an .nvmrc that's not present. Can we add those?
Sure @ljharb, will get right on it! |
40e2f8d
to
0d56b17
Compare
Hello @ljharb, I have fixed the nvm run as well and added test cases for it. Please review it whenever you are free. Thanks! |
test/slow/nvm run/Running 'nvm run' should pick up .nvmrc version
Show resolved
Hide resolved
test/slow/nvm use/Running 'nvm use' with nvmrc containing not intalled version
Show resolved
Hide resolved
a3993c1
to
6bc56d4
Compare
Hello @ljharb, I have made all the suggested changes. Please let me know if you need me to do some other changes. Thanks! |
1 similar comment
Hello @ljharb, I have made all the suggested changes. Please let me know if you need me to do some other changes. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
nvm install
: show proper version in .nvmrc
install instructions
d024482
to
9e884b8
Compare
When will we release this? |
Python 2? Good luck! |
We skip showing version only if we have
.nvmrc
with value and runsnvm use
ornvm run
. Ifnvm use v17
ornvm run v17 app.js
is used we still show the version as seen in the screenshot:nvm use:
nvm run:
Fixes #2701. Fixes #2775.