You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO: Create new templates rather than updating existing ones
kwargs.update(version=source.target_version)
fortemplateinsource_with_templates.templates:
new_template=finder.find(str(source.update_location), **kwargs)
# TODO: Create new templates rather than updating existing ones# This would eliminate issues from partial updates of templates as new attributes are added.# I think the logic is set up this way because order of the templates matters.iftemplate.version!=new_template.version:
# Template needs to be upgraded# As finder already updates the local files, just update the template objecttemplate.update_from_template(new_template)
def_commit_message(renderables: Sequence[Renderable]) ->str:
6505e6c71412bf9ae45eb60150ffa0de9f634c13
The text was updated successfully, but these errors were encountered:
Create new templates rather than updating existing ones
This would eliminate issues from partial updates of templates as new attributes are added.
I think the logic is set up this way because order of the templates matters.
As finder already updates the local files, just update the template object
flexlate/flexlate/update/main.py
Line 337 in 92f5cd0
6505e6c71412bf9ae45eb60150ffa0de9f634c13
The text was updated successfully, but these errors were encountered: