enable lint prefer_interpolation_to_compose_strings (#83407)
This commit is contained in:
committed by
GitHub
parent
71e711547f
commit
34059eec2c
@@ -410,7 +410,7 @@ class _FakeHttpClientRequest implements HttpClientRequest {
|
||||
|
||||
@override
|
||||
void writeln([Object? object = '']) {
|
||||
_body.addAll(utf8.encode(object.toString() + '\n'));
|
||||
_body.addAll(utf8.encode('$object\n'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ void validatePubspecForPlugin({
|
||||
String? webFileName,
|
||||
}) {
|
||||
final FlutterManifest manifest =
|
||||
FlutterManifest.createFromPath(projectDir + '/pubspec.yaml', fileSystem: globals.fs, logger: globals.logger)!;
|
||||
FlutterManifest.createFromPath('$projectDir/pubspec.yaml', fileSystem: globals.fs, logger: globals.logger)!;
|
||||
final YamlMap platformsMap = YamlMap.wrap(manifest.supportedPlatforms!);
|
||||
for (final String platform in expectedPlatforms) {
|
||||
expect(platformsMap[platform], isNotNull);
|
||||
|
||||
Reference in New Issue
Block a user