From e2782594cca6240991cb2fa4ffc05fb106391f1a Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Fri, 9 Sep 2016 16:25:40 -0700 Subject: gen-changelog: Fix the missing/double hashmarks issue --- scripts/changelog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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] -- cgit v1.2.3