mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
tab to spaces
shit happens when you use github online editor :(
This commit is contained in:
parent
0108783c3a
commit
eb140e7c0b
2
nvm.sh
2
nvm.sh
@ -473,7 +473,7 @@ nvm()
|
|||||||
VERSION=`nvm_version $2`
|
VERSION=`nvm_version $2`
|
||||||
ROOT=`nvm use $VERSION && npm -g root`
|
ROOT=`nvm use $VERSION && npm -g root`
|
||||||
INSTALLS=`nvm use $VERSION > /dev/null && npm -g -p ll | grep "$ROOT\/[^/]\+$" | cut -d '/' -f 8 | cut -d ":" -f 2 | grep -v npm | tr "\n" " "`
|
INSTALLS=`nvm use $VERSION > /dev/null && npm -g -p ll | grep "$ROOT\/[^/]\+$" | cut -d '/' -f 8 | cut -d ":" -f 2 | grep -v npm | tr "\n" " "`
|
||||||
eval "npm install -g $INSTALLS"
|
eval "npm install -g $INSTALLS"
|
||||||
;;
|
;;
|
||||||
"clear-cache" )
|
"clear-cache" )
|
||||||
rm -f $NVM_DIR/v* 2>/dev/null
|
rm -f $NVM_DIR/v* 2>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user