Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Changed prefix check to work in case NVM_DIR is a link #2146
When NVM_DIR is a link, nvm mistakenly returns the error
nvm is not compatible with the npm config "prefix" option: currently set to "/data/jenkins-misc/nvm/versions/node/v8.10.0"
With this fix nvm will check correctly that the prefix is inside the NVM_DIR