feat(flutter_tools): Changed NoIdeValidator validation type from error to warning (#95492)
This commit is contained in:
@@ -285,7 +285,8 @@ class NoIdeValidator extends DoctorValidator {
|
||||
@override
|
||||
Future<ValidationResult> validate() async {
|
||||
return ValidationResult(
|
||||
ValidationType.missing,
|
||||
// Info hint to user they do not have a supported IDE installed
|
||||
ValidationType.notAvailable,
|
||||
globals.userMessages.noIdeInstallationInfo.map((String ideInfo) => ValidationMessage(ideInfo)).toList(),
|
||||
statusInfo: globals.userMessages.noIdeStatusInfo,
|
||||
);
|
||||
|
||||
@@ -88,7 +88,7 @@ void main() {
|
||||
|
||||
testUsingContext('No IDE Validator includes expected installation messages', () async {
|
||||
final ValidationResult result = await NoIdeValidator().validate();
|
||||
expect(result.type, ValidationType.missing);
|
||||
expect(result.type, ValidationType.notAvailable);
|
||||
|
||||
expect(
|
||||
result.messages.map((ValidationMessage vm) => vm.message),
|
||||
|
||||
Reference in New Issue
Block a user