Skip to content

Conversation

@nmarghetti
Copy link
Contributor

@nmarghetti nmarghetti commented Jan 8, 2021

Simply copy/pasting nvm_grep function from nvm.sh to install.sh makes the test nvm_install_with_node_version to fail.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's because nvm_reset unsets nvm_grep, which nvm itself needs to function, but in this case, the failing test is failing to source nvm.sh after running the install script, which is a bug in the test. I'll fix and land once tests pass.

@ljharb ljharb merged commit 9f3397a into nvm-sh:master Jan 12, 2021
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

Successfully merging this pull request may close these issues.

2 participants