Skip to content

Commit

Permalink
Allow installation of missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Jan 31, 2019
1 parent aba8b02 commit 451620d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Core/Registry/Registry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1069,6 +1069,12 @@ internal static HashSet<string> FindReverseDependencies(
IDictionary<string, UnmanagedModuleVersion> dlc
)
{
if (!modules_to_remove.Any())
{
// The empty list has no reverse dependencies
// (Don't remove broken modules if we're only installing)
return new HashSet<string>();
}
while (true)
{
// Make our hypothetical install, and remove the listed modules from it.
Expand Down

0 comments on commit 451620d

Please sign in to comment.