mirror of
https://github.com/go-task/task.git
synced 2025-06-15 00:15:10 +02:00
Merge branch 'f/list-all' of https://github.com/therealkevinard/task into therealkevinard-f/list-all
This commit is contained in:
2
task.go
2
task.go
@ -68,7 +68,7 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
|
||||
for _, c := range calls {
|
||||
if _, ok := e.Taskfile.Tasks[c.Task]; !ok {
|
||||
// FIXME: move to the main package
|
||||
e.PrintTasksHelp()
|
||||
e.ListTasksWithDesc()
|
||||
return &taskNotFoundError{taskName: c.Task}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user