Skip to content

Commit

Permalink
Fix Fuchsia Hot Reload (flutter#11783)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso committed Aug 25, 2017
1 parent ca80cdf commit 631eaa4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/flutter_tools/lib/src/runner/flutter_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ abstract class FlutterCommand extends Command<Null> {
}

BuildInfo getBuildInfo() {
return new BuildInfo(getBuildMode(), argResults['flavor']);
if (argParser.options.containsKey('flavor'))
return new BuildInfo(getBuildMode(), argResults['flavor']);
else
return new BuildInfo(getBuildMode(), null);
}

void setupApplicationPackages() {
Expand Down

0 comments on commit 631eaa4

Please sign in to comment.