mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
[flutter_tools] do not validate unused services key (#71417)
This commit is contained in:
parent
1c4791e604
commit
a264c2bee2
|
@ -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}).');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue