diff --git a/src/identitiesInRepo/identitiesInRepoService.ts b/src/identitiesInRepo/identitiesInRepoService.ts index 4feea698..0dd41bb0 100644 --- a/src/identitiesInRepo/identitiesInRepoService.ts +++ b/src/identitiesInRepo/identitiesInRepoService.ts @@ -3,7 +3,6 @@ import * as github from '@actions/github'; import { Octokit } from '@octokit/rest'; import { GetResponseDataTypeFromEndpointMethod, OctokitResponse } from '@octokit/types'; - export class IdentitiesInRepoService { public static async setIdentitiesInRepoFindings(): Promise { try { @@ -20,12 +19,13 @@ export class IdentitiesInRepoService { >; // https://www.npmjs.com/package/octokit#pagination - const iterator: AsyncIterableIterator> = octokit.paginate.iterator(octokit.repos.listCollaborators, { - owner: owner, - repo: repo, - per_page: 100, - affiliation: 'direct', - }); + const iterator: AsyncIterableIterator> = + octokit.paginate.iterator(octokit.repos.listCollaborators, { + owner: owner, + repo: repo, + per_page: 100, + affiliation: 'direct', + }); let numberOfAdmins: number = 0; let numberOfWriters: number = 0;