Suppress an analyzer warning about cli_util.getSdkDir deprecation (#11213)

This commit is contained in:
Jason Simmons
2017-07-13 15:48:11 -07:00
committed by GitHub
parent 803cc7bc6a
commit 14648e9bae

View File

@@ -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);
}