mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Make sure nvm clear-cache
clears the versions directory as well.
This commit is contained in:
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
Block a user