File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1870,6 +1870,7 @@ nvm() {
1870
1870
echo " $NVM_DIR /*/lib/node_modules removed from \$ NODE_PATH"
1871
1871
fi
1872
1872
fi
1873
+ unset NVM_BIN NVM_PATH
1873
1874
;;
1874
1875
" use" )
1875
1876
local PROVIDED_VERSION
@@ -1913,11 +1914,13 @@ nvm() {
1913
1914
if [ $NVM_USE_SILENT -ne 1 ]; then
1914
1915
echo " Now using system version of node: $( node -v 2> /dev/null) $( nvm_print_npm_version) "
1915
1916
fi
1917
+ unset NVM_BIN NVM_PATH
1916
1918
return
1917
1919
elif nvm_has_system_iojs && nvm deactivate > /dev/null 2>&1 ; then
1918
1920
if [ $NVM_USE_SILENT -ne 1 ]; then
1919
1921
echo " Now using system version of io.js: $( iojs --version 2> /dev/null) $( nvm_print_npm_version) "
1920
1922
fi
1923
+ unset NVM_BIN NVM_PATH
1921
1924
return
1922
1925
else
1923
1926
if [ $NVM_USE_SILENT -ne 1 ]; then
You can’t perform that action at this time.
0 commit comments