Skip to content

Commit

Permalink
chore: more syntax issues
Browse files Browse the repository at this point in the history
  • Loading branch information
devindford committed Aug 6, 2024
1 parent fc90954 commit 58eb472
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/codeowner_review_status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@ jobs:
});
// Extract unique team slugs
const teamSlugs = [...new Set(codeownersRules
.flatMap(rule => rule.owners)
.map(owner => owner.replace(/^.*\//, '');
)];
const teamSlugs = [...new Set(codeownersRules.flatMap(rule => rule.owners))]
.map(owner => owner.replace(/^.*\//, ''));
console.log('Team slugs:', teamSlugs);
Expand Down

0 comments on commit 58eb472

Please sign in to comment.