Skip to content

Commit

Permalink
WIP - added log for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Apr 15, 2024
1 parent d2f615d commit f7af5b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/github/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export class RepositoryApi {
...this.repo,
},
);
this.logger.info(`Rate limits are ${JSON.stringify(query.rateLimit)}`);
const totalPages =
Math.floor(query.repository.pullRequests.totalCount / 100) + 1;
this.logger.info(`Querying page ${++currentPage}/${totalPages}`);
Expand Down

0 comments on commit f7af5b7

Please sign in to comment.