uwefladrich/scriptengine

base.copy handles missing files incorrectly

Closed this issue · 0 comments

Assuming

base.copy:
    src: foo
    dst: bar

and assuming further that foo does not exist, the base.copy task falsely assumes that foo is a directory. It will also raise an unhandled FileNotFoundError (appropriate error, but for the wrong reason).