uwefladrich / scriptengine

A lightweight and extensible framework for execution scripts written in YAML.
GNU General Public License v3.0
15 stars 4 forks source link

Fix: task timing in jobs does not work #115

Closed uwefladrich closed 2 weeks ago

uwefladrich commented 2 weeks ago

A simple script like the following will not work:

- base.task_timer:
    mode: classes
- do:
    - base.echo:
        msg: Hello!
- base.echo:
    msg: "{{ se.tasks.timing.timers }}"

The effect is that se.tasks.timing.timers is empty, in particular, se.tasks.timing.timers.classes will not exist.

This is a regression with 1.0.0rc1.