mirror of https://github.com/docker/docs.git
Merge pull request #18540 from thaJeztah/remove-redundant-check
Remove redundant check
This commit is contained in:
commit
61b832dc5c
|
|
@ -183,7 +183,7 @@ func DisplayJSONMessagesStream(in io.Reader, out io.Writer, terminalFd uintptr,
|
||||||
} else {
|
} else {
|
||||||
diff = len(ids) - line
|
diff = len(ids) - line
|
||||||
}
|
}
|
||||||
if jm.ID != "" && isTerminal {
|
if isTerminal {
|
||||||
// NOTE: this appears to be necessary even if
|
// NOTE: this appears to be necessary even if
|
||||||
// diff == 0.
|
// diff == 0.
|
||||||
// <ESC>[{diff}A = move cursor up diff rows
|
// <ESC>[{diff}A = move cursor up diff rows
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue