From 5694db4f09234abe9fa1530f68d44b69215ee265 Mon Sep 17 00:00:00 2001 From: Alejandro Menocal Date: Thu, 7 Sep 2023 10:12:29 -0500 Subject: [PATCH] add log info on repo being processed --- dist/index.js | 1 + src/classes/issues-processor.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/dist/index.js b/dist/index.js index 7ee16d1d..a544d797 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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({ diff --git a/src/classes/issues-processor.ts b/src/classes/issues-processor.ts index 7510f786..ed7b42fb 100644 --- a/src/classes/issues-processor.ts +++ b/src/classes/issues-processor.ts @@ -562,6 +562,11 @@ export class IssuesProcessor { // grab issues from github in batches of 100 async getIssues(page: number): Promise { + this._logger.info( + LoggerService.green( + `Processing: ${this.options.repoOwner}/${this.options.repoName}` + ) + ); try { this.operations.consumeOperation(); const issueResult = await this.client.rest.issues.listForRepo({