Unverified Commit 18c7f8a2 authored by Loïc Sharma's avatar Loïc Sharma Committed by GitHub

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

parent b227df30
...@@ -283,7 +283,7 @@ class FlutterCommandRunner extends CommandRunner<void> { ...@@ -283,7 +283,7 @@ class FlutterCommandRunner extends CommandRunner<void> {
return; return;
} }
if (machineFlag && topLevelResults.command?.name != 'analyze') { 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); await super.runCommand(topLevelResults);
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment