Skip to content

Commit

Permalink
Merge pull request #508 from Medable/bug/MIG-207_i18n_export_fix_stru…
Browse files Browse the repository at this point in the history
…cture

MIG_207: omit script extraction from i18n objects
  • Loading branch information
gastonrobledo authored Jul 16, 2024
2 parents c16ab2f + e09f249 commit 6d898eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdctl-core/streams/section.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class ExportSection {
nodes = jp.nodes(content, '$..script')

// Exclude script extraction to all instance data.
if (isCustomName(content.object)) {
if (isCustomName(content.object) || content.object === 'i18n') {
return
}

Expand Down

0 comments on commit 6d898eb

Please sign in to comment.