enable avoid_single_cascade_in_expression_statements (#51944)
This commit is contained in:
committed by
GitHub
parent
3018d8ddb3
commit
c2ae654ddf
@@ -103,7 +103,7 @@ class AotBuilder {
|
||||
if ((await Future.wait<int>(exitCodes.values)).every((int buildExitCode) => buildExitCode == 0)) {
|
||||
final Iterable<String> dylibs = iosBuilds.values.map<String>(
|
||||
(String outputDir) => globals.fs.path.join(outputDir, 'App.framework', 'App'));
|
||||
globals.fs.directory(globals.fs.path.join(outputPath, 'App.framework'))..createSync();
|
||||
globals.fs.directory(globals.fs.path.join(outputPath, 'App.framework')).createSync();
|
||||
await processUtils.run(
|
||||
<String>[
|
||||
'lipo',
|
||||
|
||||
@@ -418,7 +418,7 @@ class LicenseCollector {
|
||||
licenseText = rawLicense;
|
||||
}
|
||||
packageLicenses.putIfAbsent(licenseText, () => <String>{})
|
||||
..addAll(packageNames);
|
||||
.addAll(packageNames);
|
||||
allPackages.addAll(packageNames);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ Future<void> main() async {
|
||||
''';
|
||||
}
|
||||
environment.buildDir.childFile('main.dart')
|
||||
..writeAsStringSync(contents);
|
||||
.writeAsStringSync(contents);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user