Commit 4f6db1ee authored by Joshua Weinberg's avatar Joshua Weinberg Committed by Eloy Duran

Small cleanup based on suggestion

parent cd31ff83
......@@ -133,7 +133,7 @@ module Pod
isa_objects = objects_by_isa(isa)
object_uuid, object = isa_objects.first
if condition != nil
object_uuid, object = isa_objects.select { |uuid, object| condition.call(uuid, object) }.first
object_uuid, object = isa_objects.select(&condition).first
end
object['files'] << build_file_uuid
......
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