task icon indicating copy to clipboard operation
task copied to clipboard

fix: requires with task-level vars

Open mokeko opened this issue 1 year ago • 0 comments

fix : #1768.

In Executor.compiledTask, a new ast.Task variable is created as the return value of the function. While most fields from origTask are carried over, the Vars field is not set. I have added a change to address this. Although the other fields are set using templater.Replace, it doesn't seem necessary for Vars. This is because e.Compiler.GetVariables at line 37 already calls templater.Replace internally.

mokeko avatar Aug 20 '24 14:08 mokeko