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:
parent
d05d418c4c
commit
33d4ad4d84
4
task.go
4
task.go
@ -65,7 +65,7 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
|
||||
}
|
||||
|
||||
if e.Summary {
|
||||
e.printTaskDetails(calls[0].Task)
|
||||
e.printTaskSummary(calls[0].Task)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -81,7 +81,7 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (e *Executor) printTaskDetails(task string) {
|
||||
func (e *Executor) printTaskSummary(task string) {
|
||||
t := e.Taskfile.Tasks[task]
|
||||
s := t.Summary
|
||||
if s == "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user