fix: stop possible from-file, type module collision in template
This commit is contained in:
parent
d663b7574b
commit
dfb315447c
1 changed files with 1 additions and 2 deletions
|
|
@ -9,8 +9,7 @@
|
|||
{%- else %}
|
||||
RUN chmod +x /tmp/modules/{{ type }}/{{ type }}.sh && source /tmp/exports.sh && /tmp/modules/{{ type }}/{{ type }}.sh '{{ self::print_module_context(module) }}'
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- if let Some(from_file) = module.from_file %}
|
||||
{%- else if let Some(from_file) = module.from_file %}
|
||||
{{ self::get_module_from_file(from_file).render().unwrap() }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue