mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +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 New Issue
Block a user