Fix upgrade issue

Remove the origin in the end of the check of the latest version in the repo
This commit is contained in:
Sebastien 2018-08-29 12:59:55 +02:00 committed by GitHub
parent 2d88fd5c8f
commit 2154739eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ _zsh_nvm_has() {
} }
_zsh_nvm_latest_release_tag() { _zsh_nvm_latest_release_tag() {
echo $(cd "$NVM_DIR" && git fetch --quiet origin && git describe --abbrev=0 --tags --match "v[0-9]*" origin) echo $(cd "$NVM_DIR" && git fetch --quiet origin && git describe --abbrev=0 --tags --match "v[0-9]*")
} }
_zsh_nvm_install() { _zsh_nvm_install() {