Skip to content

Commit

Permalink
fix: remove useless debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Gelloz committed Oct 29, 2024
1 parent 7781ffa commit 3114465
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/exec/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ func (e ShellExecutor) ExecuteWithWriters(stdout, stderr io.Writer, name string,

// ExecuteWithWriter executes a command and forwards both stdout and stderr to a single io.Writer.
func (e ShellExecutor) ExecuteWithWriter(writer io.Writer, name string, args ...string) error {
logger.Debugf("Exec cmd: %s %v", name, args)
return e.ExecuteWithWriters(writer, writer, name, args...)
}

// ExecuteStdout executes a shell command and prints to the standard output.
func (e ShellExecutor) ExecuteStdout(name string, args ...string) error {
logger.Debugf("Exec cmd: %s %v", name, args)
return e.ExecuteWithWriters(os.Stdout, os.Stderr, name, args...)
}

0 comments on commit 3114465

Please sign in to comment.