style: improve formatting

This commit is contained in:
rickstaa 2022-10-07 11:10:48 +02:00
parent cea4a39548
commit 04595dfe62
No known key found for this signature in database
GPG key ID: 0BD7401D30D23E53
2 changed files with 9 additions and 2 deletions

View file

@ -568,7 +568,14 @@ export const run = async (prNumber) => {
"REQUEST_CHANGES",
error.message,
);
await addRemoveLabel(octokit, pullRequestId, owner, repo, "invalid", true);
await addRemoveLabel(
octokit,
pullRequestId,
owner,
repo,
"invalid",
true,
);
} else {
info(`DRY_RUN: Review state: REQUEST_CHANGES`);
info(`DRY_RUN: Review reason: ${error.message}`);

View file

@ -155,7 +155,7 @@ const totalStarsFetcher = async (username, repoToHide) => {
// hasNextPage =
// allNodes.length === nodesWithStars.length &&
// res.data.data.user.repositories.pageInfo.hasNextPage;
hasNextPage = false // NOTE: Temporarily disable fetching of multiple pages.
hasNextPage = false; // NOTE: Temporarily disable fetching of multiple pages.
endCursor = res.data.data.user.repositories.pageInfo.endCursor;
}