Skip to content

Commit

Permalink
fix RG job
Browse files Browse the repository at this point in the history
  • Loading branch information
wkelly17 committed Jan 22, 2025
1 parent 9cc4756 commit b4b842a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/sendToApi/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ async function process() {
});
console.log(`Processings ${reviewersGuides.length} files`);
const reduced = reviewersGuides.reduce((acc, file) => {
const ext = path.extname(file);
const baseName = path.basename(file, ext);
const ext = path.extname(file.path);
const baseName = path.basename(file.path, ext);
if (!acc[baseName]) {
acc[baseName] = {
name: baseName,
Expand Down

0 comments on commit b4b842a

Please sign in to comment.