Commit 92d273a9 authored by Igor's avatar Igor Committed by Stan Hu

Use select instead of filter to support 2.5

parent 3dfc89ad
...@@ -69,7 +69,7 @@ class BranchesFinder ...@@ -69,7 +69,7 @@ class BranchesFinder
return branches unless names return branches unless names
branch_names = names.to_set branch_names = names.to_set
branches.filter do |branch| branches.select do |branch|
branch_names.include?(branch.name) branch_names.include?(branch.name)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment