Skip to content

Commit

Permalink
format src/main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rodmatos committed Jan 31, 2022
1 parent 6865320 commit 21116fe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@ async function run(): Promise<void> {
owner,
repo,
issue_number: number
})
const comment_ids = comments.filter(comment => comment.body.includes(deduplicate))
});
const comment_ids = comments.filter(comment =>
comment.body.includes(deduplicate)
);
for (const comment_id of comment_ids) {
await octokit.issues.deleteComment({
owner,
repo,
issue_number: number,
comment_id,
})
comment_id
});
}
}

Expand Down

0 comments on commit 21116fe

Please sign in to comment.