Skip to content

Commit

Permalink
fix: update pr workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ericfennis committed Dec 15, 2023
1 parent ab59a1e commit 2693da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/updateContributors.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const getContributors = async (file, includeCoAuthors) => {
return Promise.all(Array.from(emails.values()));
};

const files = process.env.CHANGED_FILES.slice(2)
const files = process.env.CHANGED_FILES.split(' ')
.map((file) => file.replace('.json', '.svg'))
.filter((file, idx, arr) => arr.indexOf(file) === idx);

Expand Down

0 comments on commit 2693da3

Please sign in to comment.