Commit 631eaa45 authored by Zachary Anderson's avatar Zachary Anderson Committed by GitHub

Fix Fuchsia Hot Reload (#11783)

parent ca80cdfc
......@@ -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() {
......
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