mirror of
https://github.com/go-task/task.git
synced 2025-11-25 22:32:55 +02:00
fix: templates on task descriptions (#1343)
This commit is contained in:
committed by
GitHub
parent
dc77286282
commit
05755f3a52
5
task.go
5
task.go
@@ -469,13 +469,14 @@ func (e *Executor) GetTaskList(filters ...FilterFunc) ([]*taskfile.Task, error)
|
||||
|
||||
// Compile the list of tasks
|
||||
for i := range tasks {
|
||||
task := tasks[i]
|
||||
idx := i
|
||||
task := tasks[idx]
|
||||
g.Go(func() error {
|
||||
compiledTask, err := e.FastCompiledTask(taskfile.Call{Task: task.Task})
|
||||
if err == nil {
|
||||
task = compiledTask
|
||||
}
|
||||
task = compiledTask
|
||||
tasks[idx] = compiledTask
|
||||
return nil
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user