From 35f60a6b195754b3c4d5eb95a4f410f2cc07ae23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dion=20H=C3=A4fner?= Date: Thu, 29 May 2025 10:18:33 +0200 Subject: [PATCH] fix markdown link in 'X out of Y contributors have signed' comment --- src/pullrequest/pullRequestCommentContent.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pullrequest/pullRequestCommentContent.ts b/src/pullrequest/pullRequestCommentContent.ts index 26f5da5f..6eaf6481 100644 --- a/src/pullrequest/pullRequestCommentContent.ts +++ b/src/pullrequest/pullRequestCommentContent.ts @@ -37,7 +37,7 @@ function dco(signed: boolean, committerMap: CommitterMap): string { if (committersCount > 1 && committerMap && committerMap.signed && committerMap.notSigned) { text += `**${committerMap.signed.length}** out of **${committerMap.signed.length + committerMap.notSigned.length}** committers have signed the DCO.` - committerMap.signed.forEach(signedCommitter => { text += `
:white_check_mark: (${signedCommitter.name})[https://github.com/${signedCommitter.name}]` }) + committerMap.signed.forEach(signedCommitter => { text += `
:white_check_mark: [${signedCommitter.name}](https://github.com/${signedCommitter.name})` }) committerMap.notSigned.forEach(unsignedCommitter => { text += `
:x: @${unsignedCommitter.name}` }) @@ -82,7 +82,7 @@ function cla(signed: boolean, committerMap: CommitterMap): string { if (committersCount > 1 && committerMap && committerMap.signed && committerMap.notSigned) { text += `**${committerMap.signed.length}** out of **${committerMap.signed.length + committerMap.notSigned.length}** committers have signed the CLA.` - committerMap.signed.forEach(signedCommitter => { text += `
:white_check_mark: (${signedCommitter.name})[https://github.com/${signedCommitter.name}]` }) + committerMap.signed.forEach(signedCommitter => { text += `
:white_check_mark: [${signedCommitter.name}](https://github.com/${signedCommitter.name})` }) committerMap.notSigned.forEach(unsignedCommitter => { text += `
:x: @${unsignedCommitter.name}` })