Skip to content

Commit 1bcfd07

Browse files
Lars-Magnus Skogrvagg
authored andcommitted
process: this should not match PR-URL
Fixes: nodejs/changelog-maker#35 PR-URL: #1 Reviewed-By: Rod Vagg <rod@vagg.org>
1 parent 5ae9229 commit 1bcfd07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commit-stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function commitStream (ghUser, ghProject) {
3131
if (!commit.reviewers)
3232
commit.reviewers = []
3333
commit.reviewers.push({ name: m[1], email: m[2] })
34-
} else if (m = line.match(/^\s+PR(?:[- ]?URL)?:?\s*(.+)\s*$/i)) {
34+
} else if (m = line.match(/^\s+PR(?:[- ]?URL)?:?\s*(.+)\s*$/)) {
3535
commit.prUrl = m[1]
3636
if (ghUser && ghProject && (m = commit.prUrl.match(/^\s*#?(\d+)\s*$/))) {
3737
commit.prUrl = 'https://github.com/' + ghUser + '/' + ghProject + '/pull/' + m[1]

0 commit comments

Comments
 (0)