remove noop primitive operations (#82297)

This commit is contained in:
Alexandre Ardhuin
2021-05-12 09:04:02 +02:00
committed by GitHub
parent c9fe3bab9b
commit c03e7488b4
15 changed files with 16 additions and 29 deletions

View File

@@ -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 '

View File

@@ -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,

View File

@@ -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'
''
),
);
});

View File

@@ -731,8 +731,7 @@ void main() {
' } else {\n'
' (entrypoint.main as _NullaryFunction)();\n'
' }\n'
'}\n'
'',
'}\n',
);
}, overrides: <Type, Generator>{
FileSystem: () => fs,

View File

@@ -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();