add log info on repo being processed

This commit is contained in:
Alejandro Menocal 2023-09-07 10:12:29 -05:00
parent 4aaf80b0a1
commit 5694db4f09
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

1
dist/index.js vendored
View File

@ -676,6 +676,7 @@ class IssuesProcessor {
getIssues(page) {
var _a;
return __awaiter(this, void 0, void 0, function* () {
this._logger.info(logger_service_1.LoggerService.green(`Processing: ${this.options.repoOwner}/${this.options.repoName}`));
try {
this.operations.consumeOperation();
const issueResult = yield this.client.rest.issues.listForRepo({

View File

@ -562,6 +562,11 @@ export class IssuesProcessor {
// grab issues from github in batches of 100
async getIssues(page: number): Promise<Issue[]> {
this._logger.info(
LoggerService.green(
`Processing: ${this.options.repoOwner}/${this.options.repoName}`
)
);
try {
this.operations.consumeOperation();
const issueResult = await this.client.rest.issues.listForRepo({