fix: clone macro support for optional argument

This commit is contained in:
Ben Grande 2024-01-12 18:22:33 +01:00
parent e2ff679849
commit 94f0fbe6c2
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56

View File

@ -21,7 +21,7 @@ include:
- {{ source }}.create
{% set prefix = "tpl-" -%}
{% if noprefix -%}
{% if noprefix is defined -%}
{%- set prefix = "" -%}
{% endif -%}