From ac89ec488d52d07012f18d530fc871ee162ac29a Mon Sep 17 00:00:00 2001 From: Beatriz Vieira Date: Thu, 11 Mar 2021 23:18:40 -0300 Subject: [PATCH] fix: do not use footer.issue.key as prompt label issue: #13 --- cmd/git-sv/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/git-sv/handlers.go b/cmd/git-sv/handlers.go index 1eaec3b..e1d062d 100644 --- a/cmd/git-sv/handlers.go +++ b/cmd/git-sv/handlers.go @@ -301,7 +301,7 @@ func commitHandler(cfg Config, git sv.Git, messageProcessor sv.MessageProcessor) var issue string if cfg.CommitMessage.IssueFooterConfig().Key != "" && cfg.CommitMessage.Issue.Regex != "" { - issue, err = promptIssueID(cfg.CommitMessage.IssueFooterConfig().Key, cfg.CommitMessage.Issue.Regex, branchIssue) + issue, err = promptIssueID("issue id", cfg.CommitMessage.Issue.Regex, branchIssue) if err != nil { return err }