Skip to content

Commit

Permalink
Merge pull request #136 from wh201906/mentions
Browse files Browse the repository at this point in the history
Reduce unnecessary mentions
  • Loading branch information
ibakshay authored Apr 14, 2023
2 parents 6b4d566 + 70b1169 commit 0a1cc84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pullrequest/pullRequestCommentContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,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 += `<br/>:white_check_mark: @${signedCommitter.name}` })
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: (${signedCommitter.name})[https://github.com/${signedCommitter.name}]` })
committerMap.notSigned.forEach(unsignedCommitter => {
text += `<br/>:x: @${unsignedCommitter.name}`
})
Expand Down Expand Up @@ -78,7 +78,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 += `<br/>:white_check_mark: @${signedCommitter.name}` })
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: (${signedCommitter.name})[https://github.com/${signedCommitter.name}]` })
committerMap.notSigned.forEach(unsignedCommitter => {
text += `<br/>:x: @${unsignedCommitter.name}`
})
Expand Down

0 comments on commit 0a1cc84

Please sign in to comment.