mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-03 19:16:33 +00:00
[Fix] nvm install -b
: do not attempt to download source on a failed binary download with -b
Fixes #3399
This commit is contained in:
@@ -4,6 +4,10 @@ die () { echo "$@" ; exit 1; }
|
||||
|
||||
\. ../../../nvm.sh
|
||||
|
||||
nvm_install_source() {
|
||||
exit 42
|
||||
}
|
||||
|
||||
VERSION="0.7.0"
|
||||
|
||||
EXIT_CODE=$(nvm install -b "${VERSION}" ; echo $?)
|
||||
|
Reference in New Issue
Block a user