Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 15, 2024
1 parent 190f6c5 commit 8a46c1b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,14 @@ if (USE_GITHUB_DATA === "true") {
res.on("end", () => {
const repoData = JSON.parse(responseData);


const projectNames = bigProjects.projects.map(project => project.projectName);
const projectNames = bigProjects.projects.map(
project => project.projectName
);


const filteredRepos = repoData.user.repositories.edges.filter(repo => {
return !projectNames.includes(repo.node.name);
});
setRepoFunction(filteredRepos);

});
});

Expand Down

0 comments on commit 8a46c1b

Please sign in to comment.