remove noop primitive operations (#82297)
This commit is contained in:
committed by
GitHub
parent
c9fe3bab9b
commit
c03e7488b4
@@ -1021,7 +1021,7 @@ class ArtifactUpdater {
|
||||
final Digest digest = await digests.stream.last;
|
||||
final String rawDigest = base64.encode(digest.bytes);
|
||||
if (rawDigest != md5Hash) {
|
||||
throw Exception(''
|
||||
throw Exception(
|
||||
'Expected $url to have md5 checksum $md5Hash, but was $rawDigest. This '
|
||||
'may indicate a problem with your connection to the Flutter backend servers. '
|
||||
'Please re-try the download after confirming that your network connection is '
|
||||
|
||||
@@ -516,7 +516,6 @@ void main() {
|
||||
'\n'
|
||||
'! Doctor found issues in 4\n'
|
||||
' categories.\n'
|
||||
''
|
||||
));
|
||||
}, overrides: <Type, Generator>{
|
||||
Platform: _kNoColorOutputPlatform,
|
||||
@@ -563,7 +562,6 @@ void main() {
|
||||
'\n'
|
||||
'! Doctor found issues in 4\n'
|
||||
' categories.\n'
|
||||
''
|
||||
));
|
||||
}, overrides: <Type, Generator>{
|
||||
Platform: _kNoColorOutputPlatform,
|
||||
|
||||
@@ -280,7 +280,6 @@ void main() {
|
||||
' (entrypoint.main as _NullaryFunction)();\n'
|
||||
' }\n'
|
||||
'}\n'
|
||||
''
|
||||
),
|
||||
);
|
||||
});
|
||||
@@ -418,7 +417,6 @@ void main() {
|
||||
' (entrypoint.main as _NullaryFunction)();\n'
|
||||
' }\n'
|
||||
'}\n'
|
||||
''
|
||||
),
|
||||
);
|
||||
});
|
||||
|
||||
@@ -731,8 +731,7 @@ void main() {
|
||||
' } else {\n'
|
||||
' (entrypoint.main as _NullaryFunction)();\n'
|
||||
' }\n'
|
||||
'}\n'
|
||||
'',
|
||||
'}\n',
|
||||
);
|
||||
}, overrides: <Type, Generator>{
|
||||
FileSystem: () => fs,
|
||||
|
||||
@@ -437,7 +437,6 @@ dependencies:
|
||||
'plugin-a=${pluginA.path}/\n'
|
||||
'plugin-b=${pluginB.path}/\n'
|
||||
'plugin-c=${pluginC.path}/\n'
|
||||
''
|
||||
);
|
||||
|
||||
final String pluginsString = flutterProject.flutterPluginsDependenciesFile.readAsStringSync();
|
||||
|
||||
Reference in New Issue
Block a user