mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
refactor(app): name the feedback label helper refLabel
The reference parser uses issueRef as a reference kind. Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -162,8 +162,8 @@ func (a *application) printURL(cmd *cobra.Command, url string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// issueRef names an issue or pull request in feedback: "alice/x#5 (Fix login)".
|
||||
func issueRef(repo string, number int64, title string) string {
|
||||
// refLabel names an issue or pull request in feedback: "alice/x#5 (Fix login)".
|
||||
func refLabel(repo string, number int64, title string) string {
|
||||
return fmt.Sprintf("%s#%d (%s)", repo, number, title)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user