Fix spaces in `issues-processor.ts` (#748)
* Fix spaces in `issues-processor.ts` * `npm run build` and `npm run pack`
This commit is contained in:
parent
e577b690d3
commit
a78f1809b1
|
@ -416,7 +416,7 @@ class IssuesProcessor {
|
|||
return this.operations.getRemainingOperationsCount();
|
||||
}
|
||||
else {
|
||||
this._logger.info(`${logger_service_1.LoggerService.yellow('Processing the batch of issues')} ${logger_service_1.LoggerService.cyan(`#${page}`)} ${logger_service_1.LoggerService.yellow('containing')} ${logger_service_1.LoggerService.cyan(issues.length)} ${logger_service_1.LoggerService.yellow(`issue${issues.length > 1 ? 's' : ''}...`)}`);
|
||||
this._logger.info(`${logger_service_1.LoggerService.yellow('Processing the batch of issues ')} ${logger_service_1.LoggerService.cyan(`#${page}`)} ${logger_service_1.LoggerService.yellow(' containing ')} ${logger_service_1.LoggerService.cyan(issues.length)} ${logger_service_1.LoggerService.yellow(` issue${issues.length > 1 ? 's' : ''}...`)}`);
|
||||
}
|
||||
const labelsToAddWhenUnstale = words_to_list_1.wordsToList(this.options.labelsToAddWhenUnstale);
|
||||
const labelsToRemoveWhenUnstale = words_to_list_1.wordsToList(this.options.labelsToRemoveWhenUnstale);
|
||||
|
@ -432,11 +432,11 @@ class IssuesProcessor {
|
|||
}
|
||||
if (!this.operations.hasRemainingOperations()) {
|
||||
this._logger.warning(logger_service_1.LoggerService.yellowBright(`No more operations left! Exiting...`));
|
||||
this._logger.warning(`${logger_service_1.LoggerService.yellowBright('If you think that not enough issues were processed you could try to increase the quantity related to the')} ${this._logger.createOptionLink(option_1.Option.OperationsPerRun)} ${logger_service_1.LoggerService.yellowBright('option which is currently set to')} ${logger_service_1.LoggerService.cyan(this.options.operationsPerRun)}`);
|
||||
this._logger.warning(`${logger_service_1.LoggerService.yellowBright('If you think that not enough issues were processed you could try to increase the quantity related to the ')} ${this._logger.createOptionLink(option_1.Option.OperationsPerRun)} ${logger_service_1.LoggerService.yellowBright(' option which is currently set to ')} ${logger_service_1.LoggerService.cyan(this.options.operationsPerRun)}`);
|
||||
(_b = this.statistics) === null || _b === void 0 ? void 0 : _b.setOperationsCount(this.operations.getConsumedOperationsCount()).logStats();
|
||||
return 0;
|
||||
}
|
||||
this._logger.info(`${logger_service_1.LoggerService.green('Batch')} ${logger_service_1.LoggerService.cyan(`#${page}`)} ${logger_service_1.LoggerService.green('processed.')}`);
|
||||
this._logger.info(`${logger_service_1.LoggerService.green('Batch ')} ${logger_service_1.LoggerService.cyan(`#${page}`)} ${logger_service_1.LoggerService.green(' processed.')}`);
|
||||
// Do the next batch
|
||||
return this.processIssues(page + 1);
|
||||
});
|
||||
|
|
|
@ -113,11 +113,11 @@ export class IssuesProcessor {
|
|||
} else {
|
||||
this._logger.info(
|
||||
`${LoggerService.yellow(
|
||||
'Processing the batch of issues'
|
||||
'Processing the batch of issues '
|
||||
)} ${LoggerService.cyan(`#${page}`)} ${LoggerService.yellow(
|
||||
'containing'
|
||||
' containing '
|
||||
)} ${LoggerService.cyan(issues.length)} ${LoggerService.yellow(
|
||||
`issue${issues.length > 1 ? 's' : ''}...`
|
||||
` issue${issues.length > 1 ? 's' : ''}...`
|
||||
)}`
|
||||
);
|
||||
}
|
||||
|
@ -151,11 +151,11 @@ export class IssuesProcessor {
|
|||
);
|
||||
this._logger.warning(
|
||||
`${LoggerService.yellowBright(
|
||||
'If you think that not enough issues were processed you could try to increase the quantity related to the'
|
||||
'If you think that not enough issues were processed you could try to increase the quantity related to the '
|
||||
)} ${this._logger.createOptionLink(
|
||||
Option.OperationsPerRun
|
||||
)} ${LoggerService.yellowBright(
|
||||
'option which is currently set to'
|
||||
' option which is currently set to '
|
||||
)} ${LoggerService.cyan(this.options.operationsPerRun)}`
|
||||
);
|
||||
this.statistics
|
||||
|
@ -166,9 +166,9 @@ export class IssuesProcessor {
|
|||
}
|
||||
|
||||
this._logger.info(
|
||||
`${LoggerService.green('Batch')} ${LoggerService.cyan(
|
||||
`${LoggerService.green('Batch ')} ${LoggerService.cyan(
|
||||
`#${page}`
|
||||
)} ${LoggerService.green('processed.')}`
|
||||
)} ${LoggerService.green(' processed.')}`
|
||||
);
|
||||
|
||||
// Do the next batch
|
||||
|
|
Loading…
Reference in New Issue