1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

Print command, also when "set:" is specified

Always prints the command, even when the
set-keyword is used within the task.
This commit is contained in:
Sindre Røkenes Myren
2017-07-03 14:59:06 +02:00
parent 023a902f61
commit 2ace0defd0

View File

@@ -249,8 +249,8 @@ func (e *Executor) runCommand(ctx context.Context, task string, i int) error {
Stderr: e.Stderr,
}
e.println(c)
if t.Set == "" {
e.println(c)
opts.Stdout = e.Stdout
if err = execext.RunCommand(opts); err != nil {
return err