Skip to content

Commit

Permalink
fix: recompose decomposed xml using xmlElementName where it exists (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc authored Feb 8, 2024
1 parent b986bb4 commit 4cf89e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convert/convertContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class RecompositionFinalizer extends ConvertTransactionFinalizer<RecompositionSt
if (!child.parent) {
throw messages.createError('noParent', [child.fullName, child.type.name]);
}
const { directoryName: groupName } = child.type;
const groupName = child.type.xmlElementName ?? child.type.directoryName;
const { name: parentName } = child.parent.type;
const childSourceComponent = child as SourceComponent;

Expand Down

0 comments on commit 4cf89e1

Please sign in to comment.