Merge pull request #6824 from grubernaut/fix-6796

Use Sprint() instead of Sprintf() in log dedupe
This commit is contained in:
Megan Marsh 2018-10-10 08:37:59 -07:00 committed by GitHub
commit 24cc810845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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