mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-19 14:34:58 +00:00
Mentioning install-gitless.sh
in the "no git" error message - finishing off #246.
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
NVM_DIR="$HOME/.nvm"
|
NVM_DIR="$HOME/.nvm"
|
||||||
|
|
||||||
if ! hash git 2>/dev/null; then
|
if ! hash git 2>/dev/null; then
|
||||||
echo >&2 "You need to install git."
|
echo >&2 "You need to install git - visit http://git-scm.com/downloads"
|
||||||
echo >&2 "Visit http://git-scm.com/downloads"
|
echo >&2 "or, use install-gitless.sh instead."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user