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:
bircni committed 2026-10-11 22:49:40 +02:00
1 parent 71189fd15f
commit 023724d4c9
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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)
}