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:
@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user