Skip to content

Commit

Permalink
feat(libtofs): “files_switch” mess up the variable exported by “map.j…
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 14, 2020
1 parent fddf6ae commit c56ed35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length rule:quoted-strings
title: "chore(git): add Bundler config dir to '`'.gitignore'`' [skip ci]"
body: '* Checked using https://github.com/myii/ssf-formula/pull/130'
title: "fix(libtofs): “files_switch” mess up the variable exported by “map.jinja” [skip ci]"
body: '* Checked using https://github.com/myii/ssf-formula/pull/131'
# yamllint enable rule:line-length rule:quoted-strings
github:
owner: 'saltstack-formulas'
Expand Down
2 changes: 1 addition & 1 deletion ssf/files/default/formula/libtofs.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
) %}
{#- Append an empty value to evaluate as `default` in the loop below #}
{%- if '' not in fsl %}
{%- do fsl.append('') %}
{%- set fsl = fsl + [''] %}
{%- endif %}
{%- for fs in fsl %}
{%- for src_file in src_files %}
Expand Down
2 changes: 1 addition & 1 deletion ssf/libtofs.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
) %}
{#- Append an empty value to evaluate as `default` in the loop below #}
{%- if '' not in fsl %}
{%- do fsl.append('') %}
{%- set fsl = fsl + [''] %}
{%- endif %}
{%- for fs in fsl %}
{%- for src_file in src_files %}
Expand Down

0 comments on commit c56ed35

Please sign in to comment.