mirror of
https://github.com/flutter/packages.git
synced 2025-08-14 18:12:30 +08:00
Re-sync analysis_options.yaml with flutter/flutter (#5695)
The analysis options have gotten behind; this re-syncs to the current state of flutter/flutter. For options that are non-trivial to enable, either because they are non-trivial to fix, or touch a very large number of files, they are locally disabled with clear "LOCAL CHANGE" markers so that it's obvious where we are out of sync. For options that are simple to resolve, they are enabled in the PR. Part of https://github.com/flutter/flutter/issues/76229
This commit is contained in:
@ -130,8 +130,7 @@ class FormatCommand extends PluginCommand {
|
||||
if (clangFiles.isNotEmpty) {
|
||||
final String clangFormat = getStringArg('clang-format');
|
||||
if (!await _hasDependency(clangFormat)) {
|
||||
printError(
|
||||
'Unable to run \'clang-format\'. Make sure that it is in your '
|
||||
printError('Unable to run "clang-format". Make sure that it is in your '
|
||||
'path, or provide a full path with --clang-format.');
|
||||
throw ToolExit(_exitDependencyMissing);
|
||||
}
|
||||
@ -156,7 +155,7 @@ class FormatCommand extends PluginCommand {
|
||||
final String java = getStringArg('java');
|
||||
if (!await _hasDependency(java)) {
|
||||
printError(
|
||||
'Unable to run \'java\'. Make sure that it is in your path, or '
|
||||
'Unable to run "java". Make sure that it is in your path, or '
|
||||
'provide a full path with --java.');
|
||||
throw ToolExit(_exitDependencyMissing);
|
||||
}
|
||||
|
Reference in New Issue
Block a user