1
0
mirror of https://github.com/go-task/task.git synced 2024-12-12 10:45:49 +02:00

always echo command if is verbose mode

This commit is contained in:
Andrey Nering 2017-07-30 19:21:06 -03:00
parent e3ac6f9e01
commit 09e84c2583

View File

@ -194,7 +194,7 @@ func (e *Executor) runCommand(ctx context.Context, t *Task, call Call, i int) er
Stderr: e.Stderr,
}
if !cmd.Silent && !t.Silent && !e.Silent {
if e.Verbose || (!cmd.Silent && !t.Silent && !e.Silent) {
e.println(cmd.Cmd)
}
if t.Set != "" {