mirror of
https://github.com/go-task/task.git
synced 2025-11-25 22:32:55 +02: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