[Fix] Improve nvm_is_version_installed to check for a node executable instead of root dir
This commit is contained in:
committed by
Jordan Harband
parent
a5f42d9cea
commit
0cdc184168
@@ -2,11 +2,11 @@
|
||||
|
||||
set -ex
|
||||
|
||||
cd ../..
|
||||
mkdir v0.0.1
|
||||
mkdir src/node-v0.0.1
|
||||
\. ../../nvm.sh
|
||||
\. ../common.sh
|
||||
|
||||
make_fake_node v0.0.1
|
||||
|
||||
. ./nvm.sh
|
||||
nvm uninstall v0.0.1
|
||||
|
||||
[ ! -d 'v0.0.1' ] && [ ! -d 'src/node-v0.0.1/files' ]
|
||||
[ ! -d 'v0.0.1' ]
|
||||
|
||||
Reference in New Issue
Block a user