format
This commit is contained in:
parent
b5a47efe8e
commit
75a871c437
@ -150,11 +150,11 @@ fn handle_config_options(config_options: HashMap<String, String>) {
|
|||||||
config_options
|
config_options
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(k, v)| {
|
.map(|(k, v)| {
|
||||||
if v.is_empty() {
|
if v.is_empty() {
|
||||||
options.remove(k);
|
options.remove(k);
|
||||||
} else {
|
} else {
|
||||||
options.insert(k.to_string(), v.to_string());
|
options.insert(k.to_string(), v.to_string());
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.count();
|
.count();
|
||||||
Config::set_options(options);
|
Config::set_options(options);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user