1
0
mirror of https://github.com/go-task/task.git synced 2025-03-03 14:52:13 +02:00

refactoring

This commit is contained in:
jaedle 2019-02-24 16:17:47 +01:00
parent 765e3dbf72
commit a1765e1d33

View File

@ -65,7 +65,8 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
}
if e.Summary {
e.printTaskSummary(calls[0].Task)
firstTask := calls[0].Task
e.printTaskSummary(firstTask)
return nil
}