Fix Null Pointer Exception on Message Issue Links (#469)
[COMBINE] commits = ["fbd1584e7baed4a3603e3c810066603185f1b230"] [COMBINE]
This commit is contained in:
parent
3b03b11b7d
commit
b15494c8bf
@ -157,7 +157,7 @@ function formatChangelogMessage(changelogMessage: ChangelogMessage, subMessage =
|
||||
let message = changelogMessage.commitMessage.trim();
|
||||
|
||||
// Transform PR tags into a link.
|
||||
if (message.match(/(#\d+)/g)) {
|
||||
if (message.match(/\(#\d+\)/g)) {
|
||||
const matched = message.match(/\(#\d+\)/g);
|
||||
matched.forEach((match) => {
|
||||
// Extract digits
|
||||
|
Loading…
x
Reference in New Issue
Block a user