1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

refactor: rename Var.Static to Var.Value

This commit is contained in:
Pete Davison
2023-11-28 18:18:28 +00:00
parent f58257a208
commit de09e675c1
13 changed files with 54 additions and 54 deletions

View File

@ -111,9 +111,9 @@ func (r *Templater) replaceVars(vars *taskfile.Vars, extra map[string]any) *task
var new taskfile.Vars
_ = vars.Range(func(k string, v taskfile.Var) error {
new.Set(k, taskfile.Var{
Static: r.ReplaceWithExtra(v.Static, extra),
Live: v.Live,
Sh: r.ReplaceWithExtra(v.Sh, extra),
Value: r.ReplaceWithExtra(v.Value, extra),
Live: v.Live,
Sh: r.ReplaceWithExtra(v.Sh, extra),
})
return nil
})