0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-21 12:00:40 +00:00

fix: do not use footer.issue.key as prompt label

issue: #13
This commit is contained in:
Beatriz Vieira 2021-03-11 23:18:40 -03:00
parent 0ffaf44ba2
commit ac89ec488d

View File

@ -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
}