fix: wrong default value of calling functions
This commit is contained in:
parent
2d43e8944e
commit
29f69dcc2a
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@
|
||||||
{%- include {{ include_path }} params=params-%}
|
{%- include {{ include_path }} params=params-%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if return == nil -%}
|
||||||
|
{%- assign return = include.default -%}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
{%- if func != 'log' -%}
|
{%- if func != 'log' -%}
|
||||||
{%- assign msg = '[function]['
|
{%- assign msg = '[function]['
|
||||||
| append: {{func}}
|
| append: {{func}}
|
||||||
|
|
Loading…
Reference in a new issue