Skip to content

Commit

Permalink
Remove line break from duplicate close message
Browse files Browse the repository at this point in the history
  • Loading branch information
arkon committed Feb 3, 2022
1 parent 2724185 commit 8e7ea73
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ async function checkForDuplicates() {
});

const duplicateIssues = allOpenIssues
.map(issue => ({
number: issue.number,
.map(issue => ({
number: issue.number,
urls: urlsFromIssueBody(issue.body)
}))
.filter(currIssue => {
Expand Down Expand Up @@ -140,8 +140,7 @@ async function checkForDuplicates() {
body: dedent`
This issue was closed because it is a duplicate of ${duplicateIssuesText}.
*This is an automated action. If you think this is a mistake, please
comment about it so the issue can be manually reopened if needed.*
*This is an automated action. If you think this is a mistake, please comment about it so the issue can be manually reopened if needed.*
`
});

Expand Down

0 comments on commit 8e7ea73

Please sign in to comment.