mirror of
https://github.com/go-task/task.git
synced 2025-12-16 11:47:44 +01:00
feat: use external package for ordered maps (#1797)
This commit is contained in:
2
task.go
2
task.go
@@ -451,7 +451,7 @@ func (e *Executor) GetTask(call *ast.Call) (*ast.Task, error) {
|
||||
case 0: // Carry on
|
||||
case 1:
|
||||
if call.Vars == nil {
|
||||
call.Vars = &ast.Vars{}
|
||||
call.Vars = ast.NewVars()
|
||||
}
|
||||
call.Vars.Set("MATCH", ast.Var{Value: matchingTasks[0].Wildcards})
|
||||
return matchingTasks[0].Task, nil
|
||||
|
||||
Reference in New Issue
Block a user