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 ecfd775 commit f6ad20eCopy full SHA for f6ad20e
commit-stream.js
@@ -36,7 +36,7 @@ function commitStream (ghUser, ghProject) {
36
if (ghUser && ghProject && (m = commit.prUrl.match(/^\s*#?(\d+)\s*$/))) {
37
commit.prUrl = 'https://github.com/' + ghUser + '/' + ghProject + '/pull/' + m[1]
38
}
39
- if (m = commit.prUrl.match(/^(https?:\/\/.+\/([^\/]+)\/([^\/]+))\/\w+\/(\d+)$/i)) {
+ if (m = commit.prUrl.match(/^(https?:\/\/.+\/([^\/]+)\/([^\/]+))\/\w+\/(\d+)(\/)?$/i)) {
40
commit.ghIssue = +m[4]
41
commit.ghUser = m[2]
42
commit.ghProject = m[3]
0 commit comments