reenable --checked option in flutter drive (#3916)

This commit is contained in:
Yegor 2016-05-13 16:42:28 -07:00
parent d406bb99f3
commit 15decfca6e

View File

@ -269,7 +269,8 @@ Future<int> startApp(DriveCommand command, BuildMode buildMode) async {
mainPath: mainPath,
route: command.route,
debuggingOptions: new DebuggingOptions.enabled(
checked: buildMode == BuildMode.debug,
// TODO(devoncarew): Change this to 'buildMode == BuildMode.debug'.
checked: command.argResults['checked'],
startPaused: true,
observatoryPort: command.debugPort
),