refactor(shell): remove double log statement

relates to #2556
This commit is contained in:
Jan De Dobbeleer 2022-07-27 07:32:26 +02:00 committed by Jan De Dobbeleer
parent 0bdad6fa95
commit 69ac542b42

View file

@ -504,7 +504,7 @@ func (env *ShellEnvironment) RunCommand(command string, args ...string) (string,
}
func (env *ShellEnvironment) RunShellCommand(shell, command string) string {
defer env.Trace(time.Now(), "RunShellCommand", shell, command)
defer env.Trace(time.Now(), "RunShellCommand")
if out, err := env.RunCommand(shell, "-c", command); err == nil {
return out
}