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

base.command fails if ignore_error is true #84

Closed uwefladrich closed 1 year ago

uwefladrich commented 1 year ago
  base.command:
    name: ls
    args: [ foo ]
    ignore_error: true

will fail with an uncatched UnboundLocalError if no file foo exists. This does not happen when ignore_error is not true (or not set).