Remove a missed usage of .analysis_options.

Change-Id: I552fa197aa13b1987b6b348295a37d1e61ba7775
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138961
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Keerti Parthasarathy <keertip@google.com>
This commit is contained in:
Keerti Parthasarathy
2020-03-10 20:30:01 +00:00
committed by commit-bot@chromium.org
parent 41cb842cb2
commit 7f649e9ebc
@@ -41,11 +41,6 @@ class ContextLocatorImpl implements ContextLocator {
*/
static const String ANALYSIS_OPTIONS_NAME = 'analysis_options.yaml';
/**
* The old name of the analysis options file.
*/
static const String OLD_ANALYSIS_OPTIONS_NAME = '.analysis_options';
/**
* The name of the packages file.
*/
@@ -397,8 +392,7 @@ class ContextLocatorImpl implements ContextLocator {
* folder does not contain an analysis options file.
*/
File _getOptionsFile(Folder folder) =>
_getFile(folder, ANALYSIS_OPTIONS_NAME) ??
_getFile(folder, OLD_ANALYSIS_OPTIONS_NAME);
_getFile(folder, ANALYSIS_OPTIONS_NAME);
/**
* Return the packages file in the given [folder], or `null` if the folder