mirror of
https://github.com/go-task/task.git
synced 2025-03-03 14:52:13 +02:00
always echo command if is verbose mode
This commit is contained in:
parent
e3ac6f9e01
commit
09e84c2583
2
task.go
2
task.go
@ -194,7 +194,7 @@ func (e *Executor) runCommand(ctx context.Context, t *Task, call Call, i int) er
|
|||||||
Stderr: e.Stderr,
|
Stderr: e.Stderr,
|
||||||
}
|
}
|
||||||
|
|
||||||
if !cmd.Silent && !t.Silent && !e.Silent {
|
if e.Verbose || (!cmd.Silent && !t.Silent && !e.Silent) {
|
||||||
e.println(cmd.Cmd)
|
e.println(cmd.Cmd)
|
||||||
}
|
}
|
||||||
if t.Set != "" {
|
if t.Set != "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user