Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2016-07-06 02:08:37 +0300
committerRebecca Turner <me@re-becca.org>2016-07-06 03:25:56 +0300
commit931c5a13b37e41493c3643f1184cd6691ac8bc47 (patch)
treedf9af734d893721bbf5f5f78a3f2570ce5836bc8 /scripts
parentf1aff6b8688f0c79bbe44214893e92049b686a73 (diff)
scripts: Update changelog generator to support Fixes URLs
Diffstat (limited to 'scripts')
-rw-r--r--scripts/changelog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js
index 35685ffc6..b4a9d55fd 100644
--- a/scripts/changelog.js
+++ b/scripts/changelog.js
@@ -84,7 +84,7 @@ function main () {
} else if (m = line.match(/^Credit: @(.*)/)) {
if (!commit.credit) commit.credit = []
commit.credit.push(m[1])
- } else if (m = line.match(/^Fixes: #(.*)/)) {
+ } else if (m = line.match(/^Fixes: (?:#|https:[/][/]github.com[/]npm[/]npm[/]issues[/])(.*)/)) {
commit.fixes = m[1]
} else if (m = line.match(/^Reviewed-By: @(.*)/)) {
commit.reviewed = m[1]