mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
fix(status): end pr status with a single line break
pr status printed a blank line after its last section. Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
2 files changed
+1
-2
No files matched your search
@@ -44,7 +44,7 @@ pull requests you created, those assigned to you, and those that request your re
|
|||||||
if a.options.json != "" {
|
if a.options.json != "" {
|
||||||
return a.writeJSON(cmd, result)
|
return a.writeJSON(cmd, result)
|
||||||
}
|
}
|
||||||
return a.writeHuman(cmd, currentBranchSection(d, branch, current, details)+pullStatusText(d, result, t.Repo))
|
return a.writeHuman(cmd, strings.TrimSuffix(currentBranchSection(d, branch, current, details)+pullStatusText(d, result, t.Repo), "\n"))
|
||||||
}
|
}
|
||||||
runsRepo, runsSource := t.Repo, t.RepoSource
|
runsRepo, runsSource := t.Repo, t.RepoSource
|
||||||
if runs && runsRepo == "" {
|
if runs && runsRepo == "" {
|
||||||
|
|||||||
@@ -111,6 +111,5 @@ Assigned to you
|
|||||||
|
|
||||||
Requesting a code review from you
|
Requesting a code review from you
|
||||||
Nothing here
|
Nothing here
|
||||||
|
|
||||||
`, stripLinks(out.String()))
|
`, stripLinks(out.String()))
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user