Chromium Code Reviews| Index: utils/pub/pub.dart |
| diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart |
| index 63880edca382efd60829e9ed0d691b075c1ca61e..b1dc0cf2d3e580d038f0c51c44f92f06a0780465 100644 |
| --- a/utils/pub/pub.dart |
| +++ b/utils/pub/pub.dart |
| @@ -121,7 +121,7 @@ void printUsage([String description = 'Pub is a package manager for Dart.']) { |
| // TODO(rnystrom): A sorted map would be nice. |
| int length = 0; |
| var names = <String>[]; |
| - for (var command in pubCommands.getKeys()) { |
| + for (var command in pubCommands.keys) { |
| length = max(length, command.length); |
| names.add(command); |
| } |