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:
-rw-r--r--scripts/changelog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js
index c60c6c664..abbec4b4e 100644
--- a/scripts/changelog.js
+++ b/scripts/changelog.js
@@ -25,7 +25,7 @@ function shortname (url) {
if (repo !== 'npm/npm') {
return `${repo}#${id}`
} else {
- return `${id}`
+ return `#${id}`
}
}
@@ -90,7 +90,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: #?(.*?)/)) {
commit.fixes = m[1]
} else if (m = line.match(/^Reviewed-By: @(.*)/)) {
commit.reviewed = m[1]