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-%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if return == nil -%}
|
||||
{%- assign return = include.default -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if func != 'log' -%}
|
||||
{%- assign msg = '[function]['
|
||||
| append: {{func}}
|
||||
|
|
Loading…
Reference in a new issue