style: improve formatting

This commit is contained in:
rickstaa
2022-10-07 11:10:48 +02:00
parent cea4a39548
commit 04595dfe62
2 changed files with 9 additions and 2 deletions
+8 -1
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}`);
+1 -1
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;
}