fix(content): resolve selected updates together
This commit is contained in:
1 parent
bfd8be6abe
commit
e9ad30dc29
3 files changed
+161
-14
No files matched your search
@@ -613,7 +613,17 @@ pub fn merge(plans: Vec<DependencyPlan>) -> Result<DependencyPlan, NetError> {
|
||||
existing.required_dependencies.push(dependency);
|
||||
}
|
||||
}
|
||||
for alias in item.provider_aliases {
|
||||
if !existing.provider_aliases.contains(&alias) {
|
||||
existing.provider_aliases.push(alias);
|
||||
}
|
||||
}
|
||||
if root && !*existing_root {
|
||||
existing.title = item.title;
|
||||
if item.installed_path.is_some() {
|
||||
existing.installed_path = item.installed_path;
|
||||
}
|
||||
existing.replacement |= item.replacement;
|
||||
existing.automatic_dependency = false;
|
||||
existing.cleanup_eligible = false;
|
||||
*existing_root = true;
|
||||
|
||||
Reference in new issue
Block a user