mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 08:32:16 +01:00
fixing lint issue in xexec package
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user