mirror of
https://github.com/go-task/task.git
synced 2025-06-15 00:15:10 +02:00
feat: add ability to call task with variable by reference
This commit is contained in:
@ -67,6 +67,7 @@ func (c *Compiler) getVariables(t *ast.Task, call *ast.Call, evaluateShVars bool
|
||||
newVar.Value = value
|
||||
}
|
||||
newVar.Sh = tr.Replace(v.Sh)
|
||||
newVar.Ref = v.Ref
|
||||
newVar.Json = tr.Replace(v.Json)
|
||||
newVar.Yaml = tr.Replace(v.Yaml)
|
||||
newVar.Dir = v.Dir
|
||||
|
Reference in New Issue
Block a user