[flutter_tools] do not validate unused services key (#71417)

This commit is contained in:
Jonah Williams 2020-12-01 09:53:41 -08:00 committed by GitHub
parent 1c4791e604
commit a264c2bee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -423,7 +423,6 @@ void _validateFlutter(YamlMap yaml, List<String> errors) {
}
break;
case 'assets':
case 'services':
if (kvp.value is! YamlList || kvp.value[0] is! String) {
errors.add('Expected "${kvp.key}" to be a list, but got ${kvp.value} (${kvp.value.runtimeType}).');
}