Skip to content

Commit

Permalink
feat(mps-model-adapters): full support for recreating an MPS project
Browse files Browse the repository at this point in the history
The bulk sync so far could only synchronize existing models, but not create new ones.
  • Loading branch information
slisson committed Jan 22, 2025
1 parent d11c76c commit ea9730d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ data class MPSJavaModuleFacetAsNode(val facet: JavaModuleFacet) : MPSGenericNode
}
}

private fun Memento.getOrCreateChild(name: String) = getChild("name") ?: createChild("name")
private fun Memento.getOrCreateChild(name: String) = getChild(name) ?: createChild(name)

0 comments on commit ea9730d

Please sign in to comment.