1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

refactor: VeryFastCompile for Task list (#2053)

This commit is contained in:
Valentin Maerten
2025-11-02 17:25:07 +01:00
committed by GitHub
parent 7c93ea8b44
commit 15b7e3c69a
2 changed files with 46 additions and 1 deletions

View File

@@ -498,7 +498,7 @@ func (e *Executor) GetTaskList(filters ...FilterFunc) ([]*ast.Task, error) {
// Compile the list of tasks
for i := range tasks {
g.Go(func() error {
compiledTask, err := e.FastCompiledTask(&Call{Task: tasks[i].Task})
compiledTask, err := e.CompiledTaskForTaskList(&Call{Task: tasks[i].Task})
if err != nil {
return err
}