mirror of
https://github.com/go-task/task.git
synced 2025-12-01 22:52:02 +02:00
refactor: ast.Call should be in main task package (#2084)
This commit is contained in:
@@ -7,10 +7,10 @@ import (
|
||||
"github.com/go-task/task/v3/taskfile/ast"
|
||||
)
|
||||
|
||||
func PrintTasks(l *logger.Logger, t *ast.Taskfile, c []*ast.Call) {
|
||||
func PrintTasks(l *logger.Logger, t *ast.Taskfile, c []string) {
|
||||
for i, call := range c {
|
||||
PrintSpaceBetweenSummaries(l, i)
|
||||
if task, ok := t.Tasks.Get(call.Task); ok {
|
||||
if task, ok := t.Tasks.Get(call); ok {
|
||||
PrintTask(l, task)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user