fix lint errors

This commit is contained in:
Ross Brodbeck
2020-07-24 08:37:36 -04:00
parent 456e2e0213
commit a585e82d64

View File

@@ -59,7 +59,7 @@ export interface IssueProcessorOptions {
export class IssueProcessor {
readonly client: any;
readonly options: IssueProcessorOptions;
private operationsLeft: number = 0;
private operationsLeft = 0;
readonly staleIssues: Issue[] = [];
readonly closedIssues: Issue[] = [];
@@ -100,7 +100,7 @@ export class IssueProcessor {
}
}
async processIssues(page: number = 1): Promise<number> {
async processIssues(page = 1): Promise<number> {
// get the next batch of issues
const issues: Issue[] = await this.getIssues(page);
this.operationsLeft -= 1;