Skip to content

Commit 8587327

Browse files
committed
Clean up after renaming the be channel to main.
Bug: b/299435467
1 parent 6e2fe37 commit 8587327

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/main.dart

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,7 @@ Future<void> _impl(List<String> args) async {
7171
channel = sdk;
7272
version = raw ? 'latest' : (await latestPublishedVersion(channel, flavor));
7373
} else if (sdk == 'main') {
74-
// Check for `main` first and fall back to `be`. This handles the channel
75-
// rename from `be` to `main` (also tracked as b/299435467).
76-
try {
77-
channel = 'main';
78-
await latestPublishedVersion(channel, flavor);
79-
} catch (_) {
80-
channel = 'be';
81-
}
74+
channel = 'main';
8275
version = 'latest';
8376
} else {
8477
version = sdk;

0 commit comments

Comments
 (0)