Skip to content

Commit

Permalink
Iterate through more label groups
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Apr 2, 2023
1 parent b1cfa67 commit e8959e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/bmt
Original file line number Diff line number Diff line change
Expand Up @@ -852,9 +852,11 @@ sub _labels_set {
backlog => ['CCCCCC', 'not working on this, unless someone else wants to'],
);

state @label_hashes = ( \%platform_labels, \%type_labels, \%status_labels, \%priority_labels );

use experimental qw(refaliasing);
my @labels;
foreach \my %h ( \%type_labels, \%status_labels, \%priority_labels ) {
foreach \my %h ( @label_hashes ) {
my $meta = $h{_meta};
while( my( $name, $tuple ) = each %h ) {
next if $name =~ m/\A_/;
Expand Down

0 comments on commit e8959e9

Please sign in to comment.