diff options
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/maintainers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/maintainers.rb b/tasks/maintainers.rb index 4b9f78be14..a67e4a2f60 100644 --- a/tasks/maintainers.rb +++ b/tasks/maintainers.rb @@ -121,14 +121,14 @@ begin end def prepare_teams(cmp) - %w(text paths).each { |k| cmp.delete(k) } + %w{text paths}.each { |k| cmp.delete(k) } if cmp.key?("team") team = cmp.delete("team") add_members(team, cmp.delete("lieutenant")) if cmp.key?("lieutenant") add_members(team, cmp.delete("maintainers")) if cmp.key?("maintainers") set_team_title(team, cmp.delete("title")) else - %w(maintainers lieutenant title).each { |k| cmp.delete(k) } + %w{maintainers lieutenant title}.each { |k| cmp.delete(k) } end cmp.each { |_k, v| prepare_teams(v) } end |