Skip to content

Commit 243b313

Browse files
committed
Print ExecCommand cmdline only once with proper escape
1 parent 17e7af2 commit 243b313

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: utils/utils.go

-3
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,6 @@ const (
303303
)
304304

305305
func ExecCommand(ctx *types.Context, command *exec.Cmd, stdout int, stderr int) ([]byte, []byte, error) {
306-
if ctx.Verbose {
307-
fmt.Println(PrintableCommand(command.Args))
308-
}
309306

310307
if stdout == Capture {
311308
buffer := &bytes.Buffer{}

0 commit comments

Comments
 (0)