Index: runtime/observatory/lib/src/cli/command.dart |
diff --git a/runtime/observatory/lib/src/cli/command.dart b/runtime/observatory/lib/src/cli/command.dart |
index 6030aef8ca6e96830bad98739e269fa1be85677f..a0d8fa180ffca53be023cbabfce8615b925ce160 100644 |
--- a/runtime/observatory/lib/src/cli/command.dart |
+++ b/runtime/observatory/lib/src/cli/command.dart |
@@ -253,8 +253,7 @@ abstract class Command extends _CommandBase { |
toString() => 'Command(${name})'; |
} |
-abstract class CommandException implements Exception { |
-} |
+abstract class CommandException implements Exception {} |
class AmbiguousCommandException extends CommandException { |
AmbiguousCommandException(this.command, this.matches); |
@@ -264,8 +263,8 @@ class AmbiguousCommandException extends CommandException { |
@override |
String toString() { |
- List<String> matchNames = matches.map( |
- (Command command) => '${command.fullName}').toList(); |
+ List<String> matchNames = |
+ matches.map((Command command) => '${command.fullName}').toList(); |
return "Command '$command' is ambiguous: $matchNames"; |
} |
} |