mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Clears node-gyp warning:
```
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
```
d460084b24/lib/process-release.js (L66-L73)
This commit is contained in:
parent
b2c5616d7a
commit
c0a794762a
4
nvm.sh
4
nvm.sh
@ -121,6 +121,10 @@ if [ -z "${NVM_NODEJS_ORG_MIRROR-}" ]; then
|
||||
export NVM_NODEJS_ORG_MIRROR="https://nodejs.org/dist"
|
||||
fi
|
||||
|
||||
if [ -z "${NODEJS_ORG_MIRROR-}" ]; then
|
||||
export NODEJS_ORG_MIRROR="https://nodejs.org/dist"
|
||||
fi
|
||||
|
||||
if [ -z "${NVM_IOJS_ORG_MIRROR-}" ]; then
|
||||
export NVM_IOJS_ORG_MIRROR="https://iojs.org/dist"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user