Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Remy Willems committed Nov 11, 2021
1 parent edcf878 commit 1634080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Prune/DependencyEvaluator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public static bool ExcludeDep(Declaration declaration)

protected void AddIncoming(Declaration newIncoming)
{
if (CommandLineOptions.Clo.Prune == CommandLineOptions.PruneMode.Automatic && !ExcludeDep(newIncoming)) {
incomingSets.Add(new[] { newIncoming });
if (!ExcludeDep(newIncoming)) {
AddIncoming(new[] { newIncoming });
}
}

Expand Down

0 comments on commit 1634080

Please sign in to comment.