[flutter_tools] use correct sdk path for analysis (#58871)

flutter analyze was unconditionally using the cached dart-sdk for analysis, and was not running with the built SDK during local engine. This broke when trying to update the analyzer for null safety, since it required us to wait for the dart change to roll into the framework first.
This commit is contained in:
Jonah Williams
2020-06-08 17:21:33 -07:00
committed by GitHub
parent 5eb4917d73
commit 9ed3e5bea6
13 changed files with 217 additions and 69 deletions

View File

@@ -75,6 +75,7 @@ Future<void> main(List<String> args) async {
processManager: globals.processManager,
logger: globals.logger,
terminal: globals.terminal,
artifacts: globals.artifacts,
),
AssembleCommand(),
AttachCommand(verboseHelp: verboseHelp),