diff --git a/.github/workflows/codeowner_review_status.yml b/.github/workflows/codeowner_review_status.yml index 9b187bd9fc6ae..880390238f1bf 100644 --- a/.github/workflows/codeowner_review_status.yml +++ b/.github/workflows/codeowner_review_status.yml @@ -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);