Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerfehr committed Oct 20, 2022
1 parent 1da4def commit 776767f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/get-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const getBlacklist = () => {
.reduce((acc, curr) => !!curr ? [...acc, curr.trim()] : acc, []);
}
catch (_) {
return '';
return [];
}
};

Expand Down
4 changes: 2 additions & 2 deletions src/get-repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const getPackageJsonForRepo = async (repoName, sshUrl) => {
}
});
});
}
};

const getPageOfRepos = async (page, totalRepos) => {
const repos = await getRepos(page);
Expand Down Expand Up @@ -83,6 +83,6 @@ const getPageOfRepos = async (page, totalRepos) => {

const work = async () => {
getPageOfRepos(1, 0);
}
};

work().catch(console.error);

0 comments on commit 776767f

Please sign in to comment.