From 184149b8440ec013a10ea90ce71879017c0f453a Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue, 1 Jun 2021 23:53:58 +0200 Subject: [PATCH] Add missing new line --- pkg/cmd/issue/view/view.go | 2 +- pkg/cmd/pr/view/view.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/issue/view/view.go b/pkg/cmd/issue/view/view.go index 87c8e3143..d4f96bbd8 100644 --- a/pkg/cmd/issue/view/view.go +++ b/pkg/cmd/issue/view/view.go @@ -173,7 +173,7 @@ func printHumanIssuePreview(opts *ViewOptions, issue *api.Issue) error { cs := opts.IO.ColorScheme() // Header (Title and State) - fmt.Fprintf(out, "%s #%d", cs.Bold(issue.Title), issue.Number) + fmt.Fprintf(out, "%s #%d\n", cs.Bold(issue.Title), issue.Number) fmt.Fprintf(out, "%s • %s opened %s • %s\n", issueStateTitleWithColor(cs, issue.State), diff --git a/pkg/cmd/pr/view/view.go b/pkg/cmd/pr/view/view.go index a37568741..c733909c5 100644 --- a/pkg/cmd/pr/view/view.go +++ b/pkg/cmd/pr/view/view.go @@ -170,7 +170,7 @@ func printHumanPrPreview(opts *ViewOptions, pr *api.PullRequest) error { cs := opts.IO.ColorScheme() // Header (Title and State) - fmt.Fprintf(out, "%s #%d", cs.Bold(pr.Title), pr.Number) + fmt.Fprintf(out, "%s #%d\n", cs.Bold(pr.Title), pr.Number) fmt.Fprintf(out, "%s • %s wants to merge %s into %s from %s • %s %s \n", shared.StateTitleWithColor(cs, *pr),