Simple repeating word fixes (#51871)
This commit is contained in:
@@ -379,7 +379,7 @@ class Environment {
|
||||
|
||||
/// The `FLUTTER_ROOT` environment variable.
|
||||
///
|
||||
/// Defaults to to the value of [Cache.flutterRoot].
|
||||
/// Defaults to the value of [Cache.flutterRoot].
|
||||
final Directory flutterRootDir;
|
||||
|
||||
/// The `OUTPUT_DIR` environment variable.
|
||||
|
||||
@@ -331,7 +331,7 @@ bool _validate(YamlMap manifest) {
|
||||
final List<String> errors = <String>[];
|
||||
for (final MapEntry<dynamic, dynamic> kvp in manifest.entries) {
|
||||
if (kvp.key is! String) {
|
||||
errors.add('Expected YAML key to be a a string, but got ${kvp.key}.');
|
||||
errors.add('Expected YAML key to be a string, but got ${kvp.key}.');
|
||||
continue;
|
||||
}
|
||||
switch (kvp.key as String) {
|
||||
@@ -371,7 +371,7 @@ void _validateFlutter(YamlMap yaml, List<String> errors) {
|
||||
}
|
||||
for (final MapEntry<dynamic, dynamic> kvp in yaml.entries) {
|
||||
if (kvp.key is! String) {
|
||||
errors.add('Expected YAML key to be a a string, but got ${kvp.key} (${kvp.value.runtimeType}).');
|
||||
errors.add('Expected YAML key to be a string, but got ${kvp.key} (${kvp.value.runtimeType}).');
|
||||
continue;
|
||||
}
|
||||
switch (kvp.key as String) {
|
||||
|
||||
@@ -29,7 +29,7 @@ class VisualStudioProject {
|
||||
/// The content of the project file.
|
||||
xml.XmlDocument content;
|
||||
|
||||
/// Whether or not the the project file was correctly parsed.
|
||||
/// Whether or not the project file was correctly parsed.
|
||||
///
|
||||
/// If false, this could indicate that the project file is damaged, or that
|
||||
/// it's an unsupported project type.
|
||||
|
||||
Reference in New Issue
Block a user