fix: removed unwrap from template to handle with proper error message
This commit is contained in:
parent
7ae8dcd273
commit
ebd399e960
2 changed files with 9 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
|||
RUN chmod +x /tmp/modules/{{ type }}/{{ type }}.sh && source /tmp/exports.sh && /tmp/modules/{{ type }}/{{ type }}.sh '{{ self::print_module_context(module) }}'
|
||||
{%- endif %}
|
||||
{%- else if let Some(from_file) = module.from_file %}
|
||||
{{ self::get_module_from_file(from_file).render().unwrap() }}
|
||||
{{ self::get_module_from_file(from_file) }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue