mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
update: remove duplicate newline
Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -120,10 +120,6 @@ func (t StdoutTemplateArray) Out() error {
|
|||||||
fmt.Fprintln(w, "")
|
fmt.Fprintln(w, "")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// Only print new line at the end of the output if stdout is the terminal
|
|
||||||
if terminal.IsTerminal(int(os.Stdout.Fd())) {
|
|
||||||
fmt.Fprintln(w, "")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
fmt.Fprintln(w, "")
|
fmt.Fprintln(w, "")
|
||||||
return w.Flush()
|
return w.Flush()
|
||||||
|
Reference in New Issue
Block a user