[flutter_tools] make getBuildInfo async (#70320)
This commit is contained in:
@@ -750,7 +750,7 @@ abstract class FlutterCommand extends Command<void> {
|
||||
///
|
||||
/// Throws a [ToolExit] if the current set of options is not compatible with
|
||||
/// each other.
|
||||
BuildInfo getBuildInfo({ BuildMode forcedBuildMode }) {
|
||||
Future<BuildInfo> getBuildInfo({ BuildMode forcedBuildMode }) async {
|
||||
final bool trackWidgetCreation = argParser.options.containsKey('track-widget-creation') &&
|
||||
boolArg('track-widget-creation');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user