[flutter_tools] HACKTOBERFEST (#67882)

HACKTOBERFEST
This commit is contained in:
Jonah Williams
2020-10-12 09:31:02 -07:00
committed by GitHub
parent 8211aaa2ae
commit 08576cb671
68 changed files with 146 additions and 148 deletions

View File

@@ -553,7 +553,7 @@ abstract class FlutterCommand extends Command<void> {
argParser.addFlag(FlutterOptions.kNullAssertions,
help:
'Perform additional null assertions on the boundaries of migrated and '
'unmigrated code. This setting is not currently supported on desktop '
'un-migrated code. This setting is not currently supported on desktop '
'devices.'
);
}
@@ -598,7 +598,7 @@ abstract class FlutterCommand extends Command<void> {
FlutterOptions.kPerformanceMeasurementFile,
help:
'The name of a file where flutter assemble performance and '
'cachedness information will be written in a JSON format.'
'cached-ness information will be written in a JSON format.'
);
}
@@ -1186,7 +1186,7 @@ mixin TargetPlatformBasedDevelopmentArtifacts on FlutterCommand {
@override
Future<Set<DevelopmentArtifact>> get requiredArtifacts async {
// If there is no specified target device, fallback to the default
// confiugration.
// configuration.
final String rawTargetPlatform = stringArg('target-platform');
final TargetPlatform targetPlatform = getTargetPlatformForName(rawTargetPlatform);
if (targetPlatform == null) {