Skip to content

jinja2: Prevent the 'once' option from overwriting the rendered file

This allows passing path of the rendered file as the 'once' option, which in turn means the template will be rendered only if the destination file doesn't already exist. Previously doing this would result in an empty rendered file.

Edited by Xavier Thompson

Merge request reports