Use Sprint() instead of Sprintf() in log dedupe

Uses `fmt.Sprint()` instead of `fmt.Sprintf()` for log deduplication.

Fixes: #6796
This commit is contained in:
Jake Champlin 2018-10-09 22:43:54 -04:00
parent 895e7fe111
commit 849914b756
1 changed files with 1 additions and 1 deletions

2
log.go
View File

@ -35,7 +35,7 @@ func logOutput() (logOutput io.Writer, err error) {
if strings.Contains(scanner.Text(), "ui:") {
continue
}
os.Stderr.WriteString(fmt.Sprintf(scanner.Text() + "\n"))
os.Stderr.WriteString(fmt.Sprint(scanner.Text() + "\n"))
}
}(scanner)
logOutput = w