1
0
mirror of https://github.com/go-task/task.git synced 2025-01-04 03:48:02 +02:00

rename details in Executor to summary

This commit is contained in:
jaedle 2019-02-24 15:33:09 +01:00
parent 9a3b726068
commit 06d0af7a1d
3 changed files with 4 additions and 4 deletions

View File

@ -98,7 +98,7 @@ func main() {
Silent: silent,
Dir: dir,
Dry: dry,
Details: summary,
Summary: summary,
Stdin: os.Stdin,
Stdout: os.Stdout,

View File

@ -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
}

View File

@ -575,7 +575,7 @@ func TestDetails(t *testing.T) {
Dir: dir,
Stdout: &buff,
Stderr: &buff,
Details: true,
Summary: true,
Silent: true,
}
assert.NoError(t, e.Setup())