Skip to content

Commit e5aab33

Browse files
committed
removed unnecessary log from target execute method
1 parent 758791a commit e5aab33

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

task/target.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import (
55
"fmt"
66
"os"
77
"os/exec"
8-
9-
"go.uber.org/zap"
108
)
119

1210
// ExecutionTask encodes a Target with additional execution-time information.
@@ -83,9 +81,5 @@ func execute(dir string, env map[string]string, command []string) (err error) {
8381
cmd.Env = append(cmd.Env, fmt.Sprintf("%s=%s", k, v))
8482
}
8583

86-
zap.L().Debug("executing target command",
87-
zap.String("command", command[0]),
88-
zap.Strings("args", command[1:]))
89-
9084
return cmd.Run()
9185
}

0 commit comments

Comments
 (0)