diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-15 11:34:16 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-09-16 16:40:18 +0300 |
commit | 53dad377a388b55b4ec74613ae01143e7ba62562 (patch) | |
tree | ac8b166cf83c922aa3657046db72bdcc14a1493f /share | |
parent | 970cff9910cce240528ab110cfbb7f603edcc8e0 (diff) | |
download | subplot-53dad377a388b55b4ec74613ae01143e7ba62562.tar.gz |
fix: make sure the then branch can never be empty
Sponsored-by: pep.foundation
Diffstat (limited to 'share')
-rw-r--r-- | share/bash/template/template.sh.tera | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/bash/template/template.sh.tera b/share/bash/template/template.sh.tera index 67134f3..da748be 100644 --- a/share/bash/template/template.sh.tera +++ b/share/bash/template/template.sh.tera @@ -191,6 +191,7 @@ done if [ "$#" = 0 ] then {% for scenario in scenarios %} scenario_{{ loop.index }}{% endfor %} + : # Avoid empty then-branch if no scenarios else |