From 58eb47234e4f0b8db8ca13c00515e7cf4640d6fd Mon Sep 17 00:00:00 2001 From: Devin Ford Date: Tue, 6 Aug 2024 16:53:47 -0400 Subject: [PATCH] chore: more syntax issues --- .github/workflows/codeowner_review_status.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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);