-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
try to use realpath to find nvm's dir #1371
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.
Thanks! This PR needs tests before it could be accepted.
Can you elaborate on what this is fixing - ie, in what scenario does nvm-exec
fail, that your change makes work?
Can this change also be made in nvm.sh
so that nvm
itself can also benefit from it?
I am not familiar with the way the tests are setup. Where is the existing test I can update? |
What's the usecase for symlinking it, as opposed to adding its directory to the Each test has its own file - https://github.com/creationix/nvm/tree/f7763c8ba96e61825e34ebaf979811a1bde2a997/test/slow/nvm%20exec are all of the |
This also might be related to #617. |
the main use of I don't see any test for the file `nvm-exec. |
All the tests are for |
You don't want to make that a supported use case? All existing |
Not particularly, you're supposed to always have an entire I don't mind improving |
This PR changes to use To support shared usage, you just need to make shared usage is helpful on shared machines. |
I've been using this for more than a year to support shared usage. I just found some time now to see if there interest for this so I figured I PR it in. |
unless you login as |
From #1369