Skip to content

Commit

Permalink
Merge pull request #93 from Memsworth/stable
Browse files Browse the repository at this point in the history
Change to check if UnidentifiedData have same origin
  • Loading branch information
TheBoxyBear authored Oct 27, 2024
2 parents f495021 + 7a2107a commit ea9aaa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ Docs/packages/
Docs/_site/
Docs/log.txt
Docs/api/*.yml
Docs/api/.manifest
Docs/api/.manifest
.idea/
3 changes: 2 additions & 1 deletion ChartTools/Metadata/Metadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ public FormattingRules Formatting
/// Unrecognized metadata
/// </summary>
/// <remarks>When writing, these will only be written if the target format matches the origin</remarks>
public HashSet<UnidentifiedMetadata> UnidentifiedData { get; } = new(new FuncEqualityComparer<UnidentifiedMetadata>((a, b) => a.Key == b.Key));
public HashSet<UnidentifiedMetadata> UnidentifiedData { get; } =
new(new FuncEqualityComparer<UnidentifiedMetadata>((a, b) => a.Key == b.Key && a.Origin == b.Origin));
#endregion

public void ReadFile(string path) => Read(path, this);
Expand Down

0 comments on commit ea9aaa8

Please sign in to comment.