Simple repeating word fixes (#51871)

This commit is contained in:
Shi-Hao Hong
2020-03-03 11:13:07 -08:00
committed by GitHub
parent 1ba4f1f509
commit d2c734a36f
13 changed files with 14 additions and 14 deletions

View File

@@ -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.

View File

@@ -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) {

View File

@@ -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.