Skip to content

Commit

Permalink
Fixing scraper-dry-run failing (Genrate markdown files)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgparmar14 committed Jun 24, 2024
1 parent 6e31084 commit 8c62674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generateNewContributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ const basePath = join(process.env.DATA_REPO || process.cwd());
function getNewContributors() {
let newContributors = new Set();

fs.readdirSync(join(basePath, "data/github")).forEach((file) => {
fs.readdirSync(join(basePath, "data-repo/data/github")).forEach((file) => {
newContributors.add(file.split(".")[0]);
});

fs.readdirSync(join(basePath, "contributors")).forEach((file) => {
fs.readdirSync(join(basePath, "data-repo/contributors")).forEach((file) => {
newContributors.delete(file.split(".")[0]);
});

Expand Down

0 comments on commit 8c62674

Please sign in to comment.