Update collection-fors to prefer final (as per updated prefer_final_in_for_each) (#127511)
The newly updated lint will soon flag for-each in collections. See discussion: https://github.com/dart-lang/linter/pull/4383 /cc @goderbauer
This commit is contained in:
@@ -930,7 +930,7 @@ Iterable<String> listApkPaths(
|
||||
];
|
||||
if (androidBuildInfo.splitPerAbi) {
|
||||
return <String>[
|
||||
for (AndroidArch androidArch in androidBuildInfo.targetArchs)
|
||||
for (final AndroidArch androidArch in androidBuildInfo.targetArchs)
|
||||
<String>[
|
||||
'app',
|
||||
androidArch.archName,
|
||||
|
||||
Reference in New Issue
Block a user