add missing trailing commas in list/set/map literals (#102585)
This commit is contained in:
committed by
GitHub
parent
0b80f08cf0
commit
07f1c20474
@@ -30,7 +30,7 @@ Future<void> main() async {
|
||||
'io.flutter.devicelab',
|
||||
'--template',
|
||||
'module',
|
||||
'hello_module'
|
||||
'hello_module',
|
||||
],
|
||||
);
|
||||
|
||||
@@ -410,7 +410,7 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
|
||||
'ios-framework',
|
||||
'--cocoapods',
|
||||
'--force', // Allow podspec creation on master.
|
||||
'--output=$cocoapodsOutputDirectoryName'
|
||||
'--output=$cocoapodsOutputDirectoryName',
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
@@ -80,7 +80,7 @@ Future<TaskResult> _doTest() async {
|
||||
'am',
|
||||
'start',
|
||||
'-n',
|
||||
'$_bundleName/$_bundleName.$_activityName'
|
||||
'$_bundleName/$_bundleName.$_activityName',
|
||||
]);
|
||||
await Future<void>.delayed(const Duration(seconds: 10));
|
||||
final Map<String, dynamic> memoryStats =
|
||||
@@ -93,7 +93,7 @@ Future<TaskResult> _doTest() async {
|
||||
ListStatistics(totalMemorySamples);
|
||||
|
||||
final Map<String, dynamic> results = <String, dynamic>{
|
||||
...totalMemoryStatistics.asMap('totalMemory')
|
||||
...totalMemoryStatistics.asMap('totalMemory'),
|
||||
};
|
||||
result = TaskResult.success(results,
|
||||
benchmarkScoreKeys: results.keys.toList());
|
||||
|
||||
@@ -90,7 +90,7 @@ class AaaPlugin: FlutterPlugin, MethodCallHandler {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--debug',
|
||||
'--target-platform=android-arm'
|
||||
'--target-platform=android-arm',
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
@@ -22,7 +22,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--debug',
|
||||
'--target-platform=android-arm'
|
||||
'--target-platform=android-arm',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -54,7 +54,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--debug',
|
||||
'--target-platform=android-x86'
|
||||
'--target-platform=android-x86',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -85,7 +85,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--debug',
|
||||
'--target-platform=android-x64'
|
||||
'--target-platform=android-x64',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -115,7 +115,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--release',
|
||||
'--target-platform=android-arm'
|
||||
'--target-platform=android-arm',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -143,7 +143,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--release',
|
||||
'--target-platform=android-arm64'
|
||||
'--target-platform=android-arm64',
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
@@ -55,7 +55,7 @@ Future<void> main() async {
|
||||
if (!Platform.isWindows) {
|
||||
await exec('chmod', <String>[
|
||||
'444',
|
||||
readonlyTxtAssetFile.path
|
||||
readonlyTxtAssetFile.path,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Future<void> main() async {
|
||||
if (!Platform.isWindows) {
|
||||
await exec('chmod', <String>[
|
||||
'444',
|
||||
readonlyTxtAssetFile.path
|
||||
readonlyTxtAssetFile.path,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -425,7 +425,7 @@ end
|
||||
'-archivePath',
|
||||
objectiveCBuildArchiveDirectory.path,
|
||||
'COMPILER_INDEX_STORE_ENABLE=NO',
|
||||
'archive'
|
||||
'archive',
|
||||
],
|
||||
environment: <String, String> {
|
||||
'FLUTTER_ANALYTICS_LOG_FILE': objectiveCAnalyticsOutputFile.path,
|
||||
|
||||
@@ -248,7 +248,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
// TODO(jmagman): Make Objective-C applications handle Swift libraries https://github.com/flutter/flutter/issues/16049
|
||||
canFail: true
|
||||
@@ -272,7 +272,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -305,7 +305,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -326,7 +326,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -390,7 +390,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user