add log info on repo being processed
This commit is contained in:
parent
4aaf80b0a1
commit
5694db4f09
|
@ -676,6 +676,7 @@ class IssuesProcessor {
|
||||||
getIssues(page) {
|
getIssues(page) {
|
||||||
var _a;
|
var _a;
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
|
this._logger.info(logger_service_1.LoggerService.green(`Processing: ${this.options.repoOwner}/${this.options.repoName}`));
|
||||||
try {
|
try {
|
||||||
this.operations.consumeOperation();
|
this.operations.consumeOperation();
|
||||||
const issueResult = yield this.client.rest.issues.listForRepo({
|
const issueResult = yield this.client.rest.issues.listForRepo({
|
||||||
|
|
|
@ -562,6 +562,11 @@ export class IssuesProcessor {
|
||||||
|
|
||||||
// grab issues from github in batches of 100
|
// grab issues from github in batches of 100
|
||||||
async getIssues(page: number): Promise<Issue[]> {
|
async getIssues(page: number): Promise<Issue[]> {
|
||||||
|
this._logger.info(
|
||||||
|
LoggerService.green(
|
||||||
|
`Processing: ${this.options.repoOwner}/${this.options.repoName}`
|
||||||
|
)
|
||||||
|
);
|
||||||
try {
|
try {
|
||||||
this.operations.consumeOperation();
|
this.operations.consumeOperation();
|
||||||
const issueResult = await this.client.rest.issues.listForRepo({
|
const issueResult = await this.client.rest.issues.listForRepo({
|
||||||
|
|
Loading…
Reference in New Issue