Skip to content

Commit

Permalink
DataType merging Empty items alway win
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed Apr 16, 2024
1 parent abdc722 commit 0774378
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uSync.Core/Tracking/Impliment/DataTypeTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public DataTypeTracker(

public override XElement MergeFiles(XElement a, XElement b)
{
if (b.IsEmptyItem()) return b;

var editorAlias = GetEditorAlias(a);
var merger = GetConfigMerger(editorAlias);
if (!string.IsNullOrEmpty(editorAlias) && merger != null)
Expand Down

0 comments on commit 0774378

Please sign in to comment.