Revert "fix: Call ReplaceVars() to resolve Ref's for imported global vars." (#2723)

This commit is contained in:
Andrey Nering
2026-03-08 17:00:12 -03:00
committed by GitHub
parent 080ee8869f
commit 4ddad9f9f7
4 changed files with 0 additions and 24 deletions

View File

@@ -114,9 +114,6 @@ func (c *Compiler) getVariables(t *ast.Task, call *Call, evaluateShVars bool) (*
return nil, err
}
}
// Resolve any outstanding 'Ref' values in global vars (esp. globals from imported Taskfiles).
c.TaskfileVars = templater.ReplaceVars(c.TaskfileVars, &templater.Cache{Vars: result})
if t != nil {
for k, v := range t.IncludeVars.All() {
if err := rangeFunc(k, v); err != nil {