Skip to content

Commit

Permalink
Update lib/OpenQA/Utils.pm
Browse files Browse the repository at this point in the history
Co-authored-by: Liv Dywan <[email protected]>
  • Loading branch information
asdil12 and kalikiana authored Nov 14, 2023
1 parent 9eeecf7 commit bf21a75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/OpenQA/Utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,7 @@ sub find_labels {
return \@labels;
}

sub find_flags {
my $text = shift // '';
sub find_flags($text) {
my @flags;
push @flags, $+{match} while $text =~ /${\FLAG_REGEX}/g;
return \@flags;
Expand Down

0 comments on commit bf21a75

Please sign in to comment.