Fix formatting (#137613)

Badly formatted code causes distraction when reading, and costs people energy when understanding code.
This commit is contained in:
Daco Harkes
2023-10-31 14:27:26 +01:00
committed by GitHub
parent 69c2ab4fb0
commit 4f606f790a
3 changed files with 6 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ import 'package:meta/meta.dart' show immutable;
/// Both the [versionMin] and [versionMax] are inclusive versions, and undefined
/// values represent an unknown minimum/maximum version.
@immutable
class VersionRange{
class VersionRange {
const VersionRange(
this.versionMin,
this.versionMax,

View File

@@ -205,7 +205,7 @@ class VariableDumpMachineProjectValidator extends MachineProjectValidator {
/// Validator run for all platforms that extract information from the pubspec.yaml.
///
/// Specific info from different platforms should be written in their own ProjectValidator.
class GeneralInfoProjectValidator extends ProjectValidator{
class GeneralInfoProjectValidator extends ProjectValidator {
@override
Future<List<ProjectValidatorResult>> start(FlutterProject project) async {
final FlutterManifest flutterManifest = project.manifest;
@@ -316,7 +316,7 @@ class PubDependenciesProjectValidator extends ProjectValidator {
jsonResult = json.decode(
processResult.stdout.toString()
) as LinkedHashMap<String, dynamic>;
} on FormatException{
} on FormatException {
result.add(_createProjectValidatorError(name, processResult.stderr.toString()));
return result;
}