mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-27 03:51:34 +00:00
[New] add support for $NVM_DIR/default-packages
file
This commit is contained in:

committed by
Jordan Harband

parent
dc5dfe3bc1
commit
7f3145bc98
@@ -7,7 +7,9 @@ die () { echo "$@" ; exit 1; }
|
||||
unset NVM_NODEJS_ORG_MIRROR
|
||||
unset NVM_IOJS_ORG_MIRROR
|
||||
|
||||
set +e # TODO: fix
|
||||
\. ../../../nvm.sh
|
||||
set -e
|
||||
|
||||
! nvm_get_mirror || die 'unknown release type did not error'
|
||||
! nvm_get_mirror node || die 'unknown release type did not error'
|
||||
@@ -28,4 +30,3 @@ unset NVM_NODEJS_ORG_MIRROR
|
||||
NVM_IOJS_ORG_MIRROR="test://domain"
|
||||
[ "$(nvm_get_mirror iojs std)" = "test://domain" ] || die "iojs-std mirror should respect NVM_IOJS_ORG_MIRROR"
|
||||
unset NVM_IOJS_ORG_MIRROR
|
||||
|
||||
|
Reference in New Issue
Block a user