mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
Suppress an analyzer warning about cli_util.getSdkDir deprecation (#11213)
This commit is contained in:
parent
803cc7bc6a
commit
14648e9bae
|
@ -46,6 +46,7 @@ class AnalysisDriver {
|
|||
DriverOptions options;
|
||||
|
||||
String get sdkDir {
|
||||
// ignore: deprecated_member_use
|
||||
return options.dartSdkPath ?? fs.path.absolute(cli_util.getSdkDir().path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue