Skip to content

Commit

Permalink
update csv script to use let
Browse files Browse the repository at this point in the history
  • Loading branch information
sethkfman committed Jun 28, 2024
1 parent 8c7b2d4 commit 4a2faf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-rc-commits.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function getPRLabels(prNumber) {
const labels = data.labels.map(label => label.name);

// Check if any label name contains "team"
const hasTeamLabel = labels.filter(label => label.toLowerCase().includes('team'));
let hasTeamLabel = labels.filter(label => label.toLowerCase().includes('team'));

if(hasTeamLabel.length > 1 && hasTeamLabel.includes('team-mobile-platform'))
hasTeamLabel = hasTeamLabel.filter(item => item !== 'team-mobile-platform');
Expand Down

0 comments on commit 4a2faf5

Please sign in to comment.