Skip to content

Commit

Permalink
don't pass output as a format string
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey C. Ollie <[email protected]>
  • Loading branch information
jcollie authored and alexellis committed May 3, 2022
1 parent 46cde10 commit 7809452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func bindLoggingPipe(name string, pipe io.Reader, output io.Writer, logPrefix bo
if logPrefix {
logger.Printf("%s: %s", name, scanner.Text())
} else {
logger.Printf(scanner.Text())
logger.Printf("%s", scanner.Text())
}
}
if err := scanner.Err(); err != nil {
Expand Down

0 comments on commit 7809452

Please sign in to comment.