diff --git a/install.sh b/install.sh index cbf6938..a48e52a 100755 --- a/install.sh +++ b/install.sh @@ -69,7 +69,7 @@ install_nvm_from_git() { mkdir -p "$NVM_DIR" command git clone "$(nvm_source git)" "$NVM_DIR" fi - cd "$NVM_DIR" && command git checkout --quiet $(nvm_latest_version) && command git branch --quiet -D master >/dev/null 2>&1 + cd "$NVM_DIR" && command git checkout --quiet $(nvm_latest_version) && command git branch -D master >/dev/null 2>&1 return }