Merge pull request #7942 from estesp/7747-stderr-stdout-bug

Fix gh#7747: filter bare newline output and log client pull to stdout
This commit is contained in:
Victor Vieux
2014-09-22 10:53:34 -07:00
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -144,7 +144,9 @@ func DisplayJSONMessagesStream(in io.Reader, out io.Writer, terminalFd uintptr,
if !ok {
line = len(ids)
ids[jm.ID] = line
fmt.Fprintf(out, "\n")
if isTerminal {
fmt.Fprintf(out, "\n")
}
diff = 0
} else {
diff = len(ids) - line