1
0
mirror of https://github.com/go-task/task.git synced 2025-03-19 21:17:46 +02:00

rename to summary

This commit is contained in:
jaedle 2019-02-24 15:38:18 +01:00
parent d05d418c4c
commit 33d4ad4d84

View File

@ -65,7 +65,7 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
} }
if e.Summary { if e.Summary {
e.printTaskDetails(calls[0].Task) e.printTaskSummary(calls[0].Task)
return nil return nil
} }
@ -81,7 +81,7 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
return nil return nil
} }
func (e *Executor) printTaskDetails(task string) { func (e *Executor) printTaskSummary(task string) {
t := e.Taskfile.Tasks[task] t := e.Taskfile.Tasks[task]
s := t.Summary s := t.Summary
if s == "" { if s == "" {