Index: utils/pub/pub.dart |
diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart |
index 569c63c00e5fe351c5dcf4d2e8d9532dc4fdfe8a..00abe4cd48160dc1e20d1469df0dbdd99c930d22 100644 |
--- a/utils/pub/pub.dart |
+++ b/utils/pub/pub.dart |
@@ -42,7 +42,7 @@ Map<String, PubCommand> get pubCommands { |
'uploader': new UploaderCommand(), |
'version': new VersionCommand() |
}; |
- for (var command in commands.values) { |
+ for (var command in commands.values.toList()) { |
for (var alias in command.aliases) { |
commands[alias] = command; |
} |