[flutter_tools] dont mention git clone of flutter in run message (#66691)

This message is displayed if we do not find a pubspec.yaml

99% of the time this additional advice is going to have nothing to do with the actual error. Just remove it because it will cause more confusion than it could clear up
This commit is contained in:
Jonah Williams
2020-09-25 21:27:22 -07:00
committed by GitHub
parent 19fbe98df3
commit ec40df9576

View File

@@ -264,8 +264,7 @@ class UserMessages {
String get flutterNoConnectedDevices => 'No connected devices.';
String get flutterNoPubspec =>
'Error: No pubspec.yaml file found.\n'
'This command should be run from the root of your Flutter project.\n'
'Do not run this command from the root of your git clone of Flutter.';
'This command should be run from the root of your Flutter project.';
String flutterTargetFileMissing(String path) => 'Target file "$path" not found.';
String get flutterBasePatchFlagsExclusive => 'Error: Only one of --baseline, --patch is allowed.';
String get flutterBaselineRequiresTraceFile => 'Error: --baseline requires --compilation-trace-file to be specified.';