Fix typo in --machine help text (#119563)

This commit is contained in:
Loïc Sharma 2023-01-30 14:46:48 -08:00 committed by GitHub
parent b227df3089
commit 18c7f8a278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,7 @@ class FlutterCommandRunner extends CommandRunner<void> {
return;
}
if (machineFlag && topLevelResults.command?.name != 'analyze') {
throwToolExit('The "--machine" flag is only valid with the "--version" flag or the "analzye --suggestions" command.', exitCode: 2);
throwToolExit('The "--machine" flag is only valid with the "--version" flag or the "analyze --suggestions" command.', exitCode: 2);
}
await super.runCommand(topLevelResults);
},