Ошибка установки значения custom переменной из шаблонов #60

Closed
opened 3 years ago by icerider · 0 comments
Collaborator
{% calculate run='/bin/bash' %}
{% save custom.qwerty = 'www-firefox,www-chromium' %}
{% save custom.zxcv2.qwerty = 'www-firefox,www-chromium2' %}
{% save custom.zxcv2.qwerty2 = 'www-firefox,www-chromium' %}


echo {{ custom.qwerty }}
echo {{ custom.zxcv2.qwerty }}
echo {{ custom.zxcv2.qwerty2 }}
exit 0

Ожидаемый вывод

www-firefox,www-chromium
www-firefox,www-chromium2
www-firefox,www-chromium

Реальный вывод

www-firefox,www-chromium2
None
www-firefox,www-chromium
``` {% calculate run='/bin/bash' %} {% save custom.qwerty = 'www-firefox,www-chromium' %} {% save custom.zxcv2.qwerty = 'www-firefox,www-chromium2' %} {% save custom.zxcv2.qwerty2 = 'www-firefox,www-chromium' %} echo {{ custom.qwerty }} echo {{ custom.zxcv2.qwerty }} echo {{ custom.zxcv2.qwerty2 }} exit 0 ``` Ожидаемый вывод ``` www-firefox,www-chromium www-firefox,www-chromium2 www-firefox,www-chromium ``` Реальный вывод ``` www-firefox,www-chromium2 None www-firefox,www-chromium ```
icerider added the high label 3 years ago
derzeitgeist closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: calculate/calculate-utils-4-lib#60
Loading…
There is no content yet.