mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01: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 != "" {
|
||||
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
|
||||
if runs && runsRepo == "" {
|
||||
|
||||
Reference in new issue
Block a user