mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
rename details in Executor to summary
This commit is contained in:
4
task.go
4
task.go
@@ -37,7 +37,7 @@ type Executor struct {
|
||||
Verbose bool
|
||||
Silent bool
|
||||
Dry bool
|
||||
Details bool
|
||||
Summary bool
|
||||
|
||||
Stdin io.Reader
|
||||
Stdout io.Writer
|
||||
@@ -64,7 +64,7 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
|
||||
}
|
||||
}
|
||||
|
||||
if e.Details {
|
||||
if e.Summary {
|
||||
e.printTaskDetails(calls[0].Task)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user