Skip to content

Commit

Permalink
Detect changes to replaced_by
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Jul 22, 2024
1 parent b19b2fd commit 57f946e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Core/Types/CkanModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,12 @@ public bool MetadataEquals(CkanModule other)
return false;
}

if (replaced_by == null ? other.replaced_by != null
: !replaced_by.Equals(other.replaced_by))
{
return false;
}

if (provides != other.provides)
{
if (provides == null || other.provides == null)
Expand Down

0 comments on commit 57f946e

Please sign in to comment.