diff --git a/SlackPrNotification.js b/SlackPrNotification.js index fbf1e35..374b814 100644 --- a/SlackPrNotification.js +++ b/SlackPrNotification.js @@ -36,7 +36,7 @@ if (makePretty) { block_id: "commit_title", text: { type: "mrkdwn", - text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + baseBranchText + "* to *" + compareBranchText + "*." + mentions + text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + compareBranchText + "* to *" + baseBranchText + "*." + mentions } }, { @@ -85,7 +85,7 @@ else if (makeCompact) { block_id: "commit_title", text: { type: "mrkdwn", - text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + baseBranchText + "* to *" + compareBranchText + "*." + mentions + text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + compareBranchText + "* to *" + baseBranchText + "*." + mentions } }, { diff --git a/SlackPrNotification.ts b/SlackPrNotification.ts index 31e6a9e..b268514 100644 --- a/SlackPrNotification.ts +++ b/SlackPrNotification.ts @@ -40,7 +40,7 @@ if (makePretty) { block_id: "commit_title", text: { type: "mrkdwn", - text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + baseBranchText + "* to *" + compareBranchText + "*." + mentions + text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + compareBranchText + "* to *" + baseBranchText + "*." + mentions } }, { @@ -88,7 +88,7 @@ if (makePretty) { block_id: "commit_title", text: { type: "mrkdwn", - text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + baseBranchText + "* to *" + compareBranchText + "*." + mentions + text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + compareBranchText + "* to *" + baseBranchText + "*." + mentions } }, {