mirror of
https://github.com/go-task/task.git
synced 2025-06-17 00:17:51 +02:00
fix: handle errors when sh is used in Taskfiles with the any variables experiment enabled
This commit is contained in:
4
task.go
4
task.go
@ -478,8 +478,8 @@ func (e *Executor) GetTaskList(filters ...FilterFunc) ([]*taskfile.Task, error)
|
||||
task := tasks[idx]
|
||||
g.Go(func() error {
|
||||
compiledTask, err := e.FastCompiledTask(taskfile.Call{Task: task.Task})
|
||||
if err == nil {
|
||||
task = compiledTask
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
tasks[idx] = compiledTask
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user