Commit 14648e9b authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

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

parent 803cc7bc
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment