Merge pull request #2389 from baude/issue2388

add newline to images output
This commit is contained in:
OpenShift Merge Robot 2019-02-22 00:03:40 +01:00 committed by GitHub
commit 1788addd04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -120,11 +120,8 @@ func (t StdoutTemplateArray) Out() error {
fmt.Fprintln(w, "")
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, "")
return w.Flush()
}