fixed implementation of item.merge()

This commit is contained in:
Sebastian Moser
2024-06-08 14:59:05 +02:00
parent 11c0f7e00e
commit 2993beb788
2 changed files with 56 additions and 35 deletions

View File

@@ -98,7 +98,6 @@ fn config_from_string(config_string: String) -> MizeResult<ItemData> {
.ok_or(MizeError::new().msg(format!("Failed to parse Option: option '{}' has an empty value (thing after =)", option)))?;
let mut path_vec = vec!["config"];
path_vec.extend(path.split("."));
println!("path_vec: {:?}", path_vec);
config.set_path(path_vec, ItemData::parse(value))?;
}