Make sure `nvm clear-cache` clears the versions directory as well.
parent
5dd2d7e5d4
commit
3747735980
2
nvm.sh
2
nvm.sh
|
@ -782,7 +782,7 @@ nvm() {
|
||||||
npm install -g --quiet $INSTALLS
|
npm install -g --quiet $INSTALLS
|
||||||
;;
|
;;
|
||||||
"clear-cache" )
|
"clear-cache" )
|
||||||
rm -f $NVM_DIR/v* 2>/dev/null
|
rm -f $NVM_DIR/v* "$(nvm_version_dir)" 2>/dev/null
|
||||||
echo "Cache cleared."
|
echo "Cache cleared."
|
||||||
;;
|
;;
|
||||||
"version" )
|
"version" )
|
||||||
|
|
Loading…
Reference in New Issue