Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed May 22, 2023
1 parent 11fbbad commit 41249dd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions lib/modules/platform/bitbucket/comments.ts
Expand Up @@ -20,11 +20,14 @@ async function getComments(
config: CommentsConfig,
prNo: number
): Promise<Comment[]> {
const comments = (await bitbucketHttp.getJson<PagedResult<Comment>>(
`/2.0/repositories/${config.repository}/pullrequests/${prNo}/comments`, {
paginate: true
}
)).body.values;
const comments = (
await bitbucketHttp.getJson<PagedResult<Comment>>(
`/2.0/repositories/${config.repository}/pullrequests/${prNo}/comments`,
{
paginate: true,
}
)
).body.values;

logger.debug(`Found ${comments.length} comments`);
return comments;
Expand Down

0 comments on commit 41249dd

Please sign in to comment.