Skip to content

Commit

Permalink
Merge 7156dcb
Browse files Browse the repository at this point in the history
  • Loading branch information
chisandrei committed Dec 10, 2024
2 parents c1a9e00 + 7156dcb commit db11840
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ TonelReader >> loadDefinitions [
sort: [ :a :b | (definitionOrders at: a class) < (definitionOrders at: b class) ].

newCategories := self categoriesFrom: newDefinitions.
(newCategories anySatisfy: [:each | each sameContentAs: self package name])
ifFalse: [ newCategories := newCategories copyWithFirst: self package name ].
organization := MCOrganizationDefinition categories: newCategories.
(newCategories anySatisfy: [:each | each sameContentAs: (self package ifNotNil: #name)])
ifFalse: [ newCategories := newCategories copyWithFirst: (self package ifNotNil: #name) ].
organization := MCOrganizationDefinition categories: (newCategories reject: #isNil).

definitions := (newDefinitions copyWithFirst: organization) sort
]

0 comments on commit db11840

Please sign in to comment.