Skip to content

Commit

Permalink
fix(bulk-model-sync-gradle): avoid overwriting existing properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuster23 committed Feb 6, 2024
1 parent 390a9ca commit 8edc5c4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ abstract class ImportIntoModelServer @Inject constructor(of: ObjectFactory) : De

logger.info("Setting meta properties...")
for ((key, value) in metaProperties.get()) {
rootNode.setPropertyValue(IProperty.fromName(key), value)
val property = IProperty.fromName(key)
if (rootNode.getPropertyValue(property) == null) {
rootNode.setPropertyValue(property, value)
}
}
}
logger.info("Sending diff to server...")
Expand Down

0 comments on commit 8edc5c4

Please sign in to comment.