Commit 59dc909d authored by jonnyandrew's avatar jonnyandrew Committed by Jonah Williams

Include empty config in 'flutter config' output (#25094)

parent 95b34d7a
......@@ -50,10 +50,10 @@ class ConfigCommand extends FlutterCommand {
String values = config.keys.map<String>((String key) {
return ' $key: ${config.getValue(key)}';
}).join('\n');
if (values.isNotEmpty)
values = '\nSettings:\n$values\n\n';
if (values.isEmpty)
values = ' No settings have been configured.';
return
'$values'
'\nSettings:\n$values\n\n'
'Analytics reporting is currently ${flutterUsage.enabled ? 'enabled' : 'disabled'}.';
}
......
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