mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
move all analysis options to repo root (#5882)
This moves all of the various .analysis_options* files to the flutter repo root so that it's easier to * remember to keep them all in sync, and * easily refer customers to them
This commit is contained in:
parent
33794d1387
commit
cc1755aac9
@ -218,8 +218,8 @@ class AnalyzeCommand extends FlutterCommand {
|
||||
options.dartSdkPath = argResults['dart-sdk'];
|
||||
options.packageMap = packages;
|
||||
options.analysisOptionsFile = flutterRepo
|
||||
? path.join(Cache.flutterRoot, '.analysis_options_flutter_analyze')
|
||||
: path.join(Cache.flutterRoot, 'packages', 'flutter_tools', 'flutter_analysis_options');
|
||||
? path.join(Cache.flutterRoot, '.analysis_options_repo')
|
||||
: path.join(Cache.flutterRoot, '.analysis_options_user');
|
||||
AnalysisDriver analyzer = new AnalysisDriver(options);
|
||||
|
||||
// TODO(pq): consider error handling
|
||||
|
Loading…
Reference in New Issue
Block a user