@@ -14,36 +14,13 @@ const String kForceFlag = 'force';
14
14
15
15
const List <String > kBaseReleaseChannels = < String > ['stable' , 'beta' ];
16
16
17
- const List <String > kReleaseChannels = < String > [
18
- ...kBaseReleaseChannels,
19
- FrameworkRepository .defaultBranch
20
- ];
17
+ const List <String > kReleaseChannels = < String > [...kBaseReleaseChannels, FrameworkRepository .defaultBranch];
21
18
22
- const String kReleaseDocumentationUrl =
23
- 'https://github.com/flutter/flutter/wiki/Flutter-Cherrypick-Process' ;
19
+ const String kReleaseDocumentationUrl = 'https://github.com/flutter/flutter/wiki/Flutter-Cherrypick-Process' ;
24
20
25
- const String kLuciPackagingConsoleLink =
26
- 'https://ci.chromium.org/p/flutter/g/packaging/console' ;
21
+ const String kLuciPackagingConsoleLink = 'https://ci.chromium.org/p/flutter/g/packaging/console' ;
27
22
28
- const String kWebsiteReleasesUrl =
29
- 'https://docs.flutter.dev/development/tools/sdk/releases' ;
30
-
31
- const String discordReleaseChannel =
32
- 'https://discord.com/channels/608014603317936148/783492179922124850' ;
33
-
34
- const String flutterReleaseHotline =
35
- 'https://mail.google.com/chat/u/0/#chat/space/AAAA6RKcK2k' ;
36
-
37
- const String hotfixToStableWiki =
38
- 'https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel' ;
39
-
40
- const String flutterAnnounceGroup =
41
- 'https://groups.google.com/g/flutter-announce' ;
42
-
43
- const String hotfixDocumentationBestPractices =
44
- 'https://github.com/flutter/flutter/wiki/Hotfix-Documentation-Best-Practices' ;
45
-
46
- const String cocoonDashboard = 'https://flutter-dashboard.appspot.com/#/build' ;
23
+ const String kWebsiteReleasesUrl = 'https://docs.flutter.dev/development/tools/sdk/releases' ;
47
24
48
25
const String discordReleaseChannel =
49
26
'https://discord.com/channels/608014603317936148/783492179922124850' ;
@@ -119,8 +96,7 @@ String? getValueFromEnvOrArgs(
119
96
if (allowNull) {
120
97
return null ;
121
98
}
122
- throw ConductorException (
123
- 'Expected either the CLI arg --$name or the environment variable $envName '
99
+ throw ConductorException ('Expected either the CLI arg --$name or the environment variable $envName '
124
100
'to be provided!' );
125
101
}
126
102
@@ -159,8 +135,7 @@ List<String> getValuesFromEnvOrArgs(
159
135
return argValues;
160
136
}
161
137
162
- throw ConductorException (
163
- 'Expected either the CLI arg --$name or the environment variable $envName '
138
+ throw ConductorException ('Expected either the CLI arg --$name or the environment variable $envName '
164
139
'to be provided!' );
165
140
}
166
141
@@ -196,8 +171,7 @@ String getNewPrLink({
196
171
repoLabel = 'Engine' ;
197
172
break ;
198
173
default :
199
- throw ConductorException (
200
- 'Expected repoName to be one of flutter or engine but got $repoName .' );
174
+ throw ConductorException ('Expected repoName to be one of flutter or engine but got $repoName .' );
201
175
}
202
176
assert (candidateBranch.isNotEmpty);
203
177
assert (workingBranch.isNotEmpty);
@@ -214,14 +188,12 @@ String getNewPrLink({
214
188
if (state.engine.dartRevision.isNotEmpty) {
215
189
// shorten hashes to make final link manageable
216
190
// prefix with github org/repo so GitHub will auto-generate a hyperlink
217
- body.writeln (
218
- '- Roll dart revision: dart-lang/sdk@${state .engine .dartRevision .substring (0 , 9 )}' );
191
+ body.writeln ('- Roll dart revision: dart-lang/sdk@${state .engine .dartRevision .substring (0 , 9 )}' );
219
192
}
220
193
for (final pb.Cherrypick cp in state.engine.cherrypicks) {
221
194
// Only list commits that map to a commit that exists upstream.
222
195
if (cp.trunkRevision.isNotEmpty) {
223
- body.writeln (
224
- '- commit: flutter/engine@${cp .trunkRevision .substring (0 , 9 )}' );
196
+ body.writeln ('- commit: flutter/engine@${cp .trunkRevision .substring (0 , 9 )}' );
225
197
}
226
198
}
227
199
} else {
0 commit comments