update flutter and flutter.bat command to suggest stable branch (#27556)

This commit is contained in:
Jonah Williams 2019-02-05 15:16:11 -08:00 committed by GitHub
parent 36c5e321a5
commit 1e127003ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@ if [[ ! -e "$FLUTTER_ROOT/.git" ]]; then
echo "Error: The Flutter directory is not a clone of the GitHub project."
echo " The flutter tool requires Git in order to operate properly;"
echo " to set up Flutter, run the following command:"
echo " git clone -b beta https://github.com/flutter/flutter.git"
echo " git clone -b stable https://github.com/flutter/flutter.git"
exit 1
fi

View file

@ -40,7 +40,7 @@ IF NOT EXIST "%flutter_root%\.git" (
ECHO Error: The Flutter directory is not a clone of the GitHub project.
ECHO The flutter tool requires Git in order to operate properly;
ECHO to set up Flutter, run the following command:
ECHO git clone -b beta https://github.com/flutter/flutter.git
ECHO git clone -b stable https://github.com/flutter/flutter.git
EXIT /B 1
)