From c0a794762a04682b57ce18a09bcffb033a44edeb Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Tue, 19 Jul 2016 22:58:35 -0400 Subject: [PATCH] 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 ``` https://github.com/nodejs/node-gyp/blob/d460084b241c427655497a1de4ed351a13ffb47f/lib/process-release.js#L66-L73 --- nvm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvm.sh b/nvm.sh index 2042a24..2890d63 100644 --- a/nvm.sh +++ b/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