diff --git a/internal/pkg/xexec/xexec.go b/internal/pkg/xexec/xexec.go index 604bb8d7..b67d7b5a 100644 --- a/internal/pkg/xexec/xexec.go +++ b/internal/pkg/xexec/xexec.go @@ -77,7 +77,7 @@ func pipe(logger xlog.Logger, cmd *exec.Cmd) error { func logCommandOutput(logger xlog.Logger, reader io.ReadCloser, outputType string, cmd *exec.Cmd) { var buf bytes.Buffer - buf.WriteString(fmt.Sprintf("%s", outputType)) + buf.WriteString(outputType) for _, arg := range cmd.Args { buf.WriteString(fmt.Sprintf(".%s", arg)) }