Make sure `nvm clear-cache` clears the versions directory as well.

master
Jordan Harband 2014-08-20 00:50:15 -07:00
parent 5dd2d7e5d4
commit 3747735980
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -782,7 +782,7 @@ nvm() {
npm install -g --quiet $INSTALLS
;;
"clear-cache" )
rm -f $NVM_DIR/v* 2>/dev/null
rm -f $NVM_DIR/v* "$(nvm_version_dir)" 2>/dev/null
echo "Cache cleared."
;;
"version" )