Skip to content

Commit 184149b

Browse files
authored
Add missing new line
1 parent 42333bb commit 184149b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/cmd/issue/view/view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func printHumanIssuePreview(opts *ViewOptions, issue *api.Issue) error {
173173
cs := opts.IO.ColorScheme()
174174

175175
// Header (Title and State)
176-
fmt.Fprintf(out, "%s #%d", cs.Bold(issue.Title), issue.Number)
176+
fmt.Fprintf(out, "%s #%d\n", cs.Bold(issue.Title), issue.Number)
177177
fmt.Fprintf(out,
178178
"%s • %s opened %s • %s\n",
179179
issueStateTitleWithColor(cs, issue.State),

pkg/cmd/pr/view/view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func printHumanPrPreview(opts *ViewOptions, pr *api.PullRequest) error {
170170
cs := opts.IO.ColorScheme()
171171

172172
// Header (Title and State)
173-
fmt.Fprintf(out, "%s #%d", cs.Bold(pr.Title), pr.Number)
173+
fmt.Fprintf(out, "%s #%d\n", cs.Bold(pr.Title), pr.Number)
174174
fmt.Fprintf(out,
175175
"%s • %s wants to merge %s into %s from %s • %s %s \n",
176176
shared.StateTitleWithColor(cs, *pr),

0 commit comments

Comments
 (0)