change messaging around Windows (#8549)

This commit is contained in:
Michael Goderbauer 2017-03-02 20:06:23 -08:00 committed by GitHub
parent e4f586d239
commit bb1dea7440
2 changed files with 7 additions and 9 deletions

View file

@ -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();

View file

@ -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}');
}