Skip to content

Commit

Permalink
Fix correct collection name
Browse files Browse the repository at this point in the history
  • Loading branch information
IsakNaslundBh authored and pawelbaran committed Sep 1, 2022
1 parent 79ffc44 commit cd31783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Revit_Engine/Compute/RevitDiffing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private static Diff Diffing(IEnumerable<object> pastObjects, IEnumerable<object>
{
List<string> messageSubjects = new List<string>();
if (dupsInPastIds) messageSubjects.Add(nameof(pastObjects));
if (dupsInFollIds) messageSubjects.Add(nameof(followingIds));
if (dupsInFollIds) messageSubjects.Add(nameof(followingObjects));
string message = $"Some of the {string.Join(" and ", messageSubjects)} contain duplicate {revitIdName}s. ";

if((dupsInPastIds && pastObjects.Any(x => x.GetType().Namespace.Contains("Structure"))) ||
Expand Down

0 comments on commit cd31783

Please sign in to comment.