Skip to content

Commit

Permalink
From v13: DataType merging Empty items alway win
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed Apr 17, 2024
1 parent cb33fa6 commit dce7379
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 @@ -32,6 +32,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 dce7379

Please sign in to comment.