Index: tools/gardening/bin/create_shard_groups.dart |
diff --git a/tools/gardening/bin/create_shard_groups.dart b/tools/gardening/bin/create_shard_groups.dart |
index e513e5f958e43d8663ea180f10af0f2ee567fa10..4a690e65258bf113ff4640af74e343ed7e9ccdc9 100644 |
--- a/tools/gardening/bin/create_shard_groups.dart |
+++ b/tools/gardening/bin/create_shard_groups.dart |
@@ -76,7 +76,7 @@ main(List<String> args) { |
List<String> dartoSource = dartoSourceFile.readAsLinesSync(); |
List<String> groups = findGroups(dartoSource); |
- List<String> shards = findShards(dartoSource); |
+ List<List<String>> shards = findShards(dartoSource); |
int groupCount = math.min(groups.length, shards.length); |
// Print the resulting Dart declaration. |
@@ -93,7 +93,7 @@ const Map<String, List<String>> shardGroups = const { |
"""); |
for (int i = 0; i < groupCount; i++) { |
print(" '${groups[i]}': const <String>["); |
- for (List<String> shard in shards[i]) { |
+ for (String shard in shards[i]) { |
print(" '$shard',"); |
} |
print(" ],"); |