Fix The unauthenticated git protocol on port 9418 is no longer supported
change git://github.com by https://github.com
This commit is contained in:
@@ -79,7 +79,7 @@ echo -e " - install path: ${italic}$npm_ins${reset}"
|
||||
# nvm_installed=$(brew info nvm | grep Cellar)
|
||||
|
||||
# version actuelle de nvm sur GitHub
|
||||
version_nvm=$(git ls-remote --tags --refs --sort="v:refname" git://github.com/nvm-sh/nvm.git | tail -n1 | sed 's/.*\///' | sed 's/v//')
|
||||
version_nvm=$(git ls-remote --tags --refs --sort="v:refname" https://github.com/nvm-sh/nvm.git | tail -n1 | sed 's/.*\///' | sed 's/v//')
|
||||
|
||||
# nvm from github
|
||||
if [ -f "$NVM_DIR/nvm.sh" ]; then
|
||||
|
||||
Reference in New Issue
Block a user