1
0
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:
Andrey Nering
2022-01-04 17:03:12 -03:00
5 changed files with 102 additions and 6 deletions

View File

@ -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}
}
}