Skip to content

Commit

Permalink
fix: wrong default value of calling functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreytse committed Jun 26, 2021
1 parent 2d43e89 commit 29f69dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _includes/functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 29f69dc

Please sign in to comment.