enable lint prefer_interpolation_to_compose_strings (#83407)
This commit is contained in:
committed by
GitHub
parent
71e711547f
commit
34059eec2c
@@ -942,7 +942,7 @@ abstract class FlutterCommand extends Command<void> {
|
||||
|
||||
if (experiments.isNotEmpty) {
|
||||
for (final String expFlag in experiments) {
|
||||
final String flag = '--enable-experiment=' + expFlag;
|
||||
final String flag = '--enable-experiment=$expFlag';
|
||||
extraFrontEndOptions.add(flag);
|
||||
extraGenSnapshotOptions.add(flag);
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@ class LocalEngineLocator {
|
||||
for (final String suffix in suffixes) {
|
||||
tmpBasename = tmpBasename.replaceFirst(RegExp('$suffix\$'), '');
|
||||
}
|
||||
return 'host_' + tmpBasename;
|
||||
return 'host_$tmpBasename';
|
||||
}
|
||||
|
||||
EngineBuildPaths _findEngineBuildPath(String localEngine, String enginePath) {
|
||||
|
||||
Reference in New Issue
Block a user