Skip to content

Commit

Permalink
Set metas['regexp']
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Nov 12, 2021
1 parent ce82e7c commit 7ac7a0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ func (repo *Repository) ComposeMetas() map[string]string {
metas["style"] = markup.IssueNameStyleAlphanumeric
case markup.IssueNameStyleRegexp:
metas["style"] = markup.IssueNameStyleRegexp
metas["regexp"] = unit.ExternalTrackerConfig().ExternalTrackerRegexpPattern
default:
metas["style"] = markup.IssueNameStyleNumeric
}
Expand Down

0 comments on commit 7ac7a0e

Please sign in to comment.