mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
change messaging around Windows (#8549)
This commit is contained in:
parent
e4f586d239
commit
bb1dea7440
|
@ -156,6 +156,13 @@ class TestCommand extends FlutterCommand {
|
|||
|
||||
@override
|
||||
Future<Null> runCommand() async {
|
||||
if (platform.isWindows) {
|
||||
throwToolExit(
|
||||
'The test command is currently not supported on Windows: '
|
||||
'https://github.com/flutter/flutter/issues/8516'
|
||||
);
|
||||
}
|
||||
|
||||
List<String> testArgs = <String>[];
|
||||
|
||||
commandValidator();
|
||||
|
|
|
@ -224,15 +224,6 @@ class _FlutterValidator extends DoctorValidator {
|
|||
messages.add(new ValidationMessage('Engine revision ${version.engineRevisionShort}'));
|
||||
messages.add(new ValidationMessage('Tools Dart version ${version.dartSdkVersion}'));
|
||||
|
||||
if (platform.isWindows) {
|
||||
valid = ValidationType.missing;
|
||||
|
||||
messages.add(new ValidationMessage.error(
|
||||
'Flutter tools are not (yet) supported on Windows: '
|
||||
'https://github.com/flutter/flutter/issues/138.'
|
||||
));
|
||||
}
|
||||
|
||||
return new ValidationResult(valid, messages,
|
||||
statusInfo: 'on ${osName()}, channel ${version.channel}');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue