Skip to content

Commit

Permalink
add # to PR number
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip committed Jun 21, 2017
1 parent ee89c6a commit 8019ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/update-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const updateChangelog = collated => {

const prUrl = "https://github.com/electrode-io/electrode/pull";

const linkifyPR = x => x.replace(/\(#([0-9]+)\)$/, `([$1](${prUrl}/$1))`);
const linkifyPR = x => x.replace(/\(#([0-9]+)\)$/, `([#$1](${prUrl}/$1))`);

const emitCommitMsg = msg => {
emitCommitMsg[msg.id] = true;
Expand Down

0 comments on commit 8019ceb

Please sign in to comment.