We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723b282 commit 1cf6eb4Copy full SHA for 1cf6eb4
index.js
@@ -47,7 +47,7 @@ function buildMentionsRegexp({mentionsPrefixes}) {
47
48
function buildRefRegexp({actions, delimiters, issuePrefixes, issueURLSegments, hosts}) {
49
return `(?:(?:[^\\w\\n\\v\\r]|^)+(${join(
50
- [].concat(...Object.keys(actions).map(key => actions[key]))
+ Object.keys(actions).flatMap(key => actions[key])
51
)}))?(?:[^\\w\\n\\v\\r]|^|(?: |\\t)*(?:${join([' ', '\t', ...delimiters])})(?: |\\t)*)${
52
hosts.length > 0 ? `(?:${join(hosts)})?` : ''
53
}((?:(?:[\\w-\\.]+)\\/)+(?:[\\w-\\.]+))?(${join([...issuePrefixes, ...issueURLSegments])})(\\d+)(?!\\w)`;
0 commit comments