[flutter_plugin_tools] If clang-format does not run, fall back to other executables in PATH (#6853)

* If clang-format does not run, fall back to other executables in PATH

* Review edits
This commit is contained in:
Jenn Magder
2022-12-16 13:05:49 -08:00
committed by GitHub
parent a50448ac47
commit c1ec012a22
6 changed files with 90 additions and 13 deletions

View File

@ -52,7 +52,7 @@ void main(List<String> args) {
}
final CommandRunner<void> commandRunner = CommandRunner<void>(
'pub global run flutter_plugin_tools',
'dart pub global run flutter_plugin_tools',
'Productivity utils for hosting multiple plugins within one repository.')
..addCommand(AnalyzeCommand(packagesDir))
..addCommand(BuildExamplesCommand(packagesDir))