mirror of
https://github.com/go-task/task.git
synced 2025-11-25 22:32:55 +02:00
refactoring
This commit is contained in:
8
task.go
8
task.go
@@ -65,13 +65,7 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
|
||||
}
|
||||
|
||||
if e.Summary {
|
||||
for i, call := range calls {
|
||||
if i > 0 {
|
||||
e.Logger.Outf("")
|
||||
e.Logger.Outf("")
|
||||
}
|
||||
summary.Print(e.Logger, e.Taskfile.Tasks[call.Task])
|
||||
}
|
||||
summary.PrintAll(e.Logger, e.Taskfile, calls)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user