BigW Consortium Gitlab

Commit be99f824 by James Lopez

started refactoring reader

parent 8ff9fc55
......@@ -18,7 +18,9 @@ module Gitlab
attributes = @attributes_finder.find(:project)
project_attributes = attributes.is_a?(Hash) ? attributes[:project] : {}
project_attributes.merge(include: build_hash(@tree))
build_hash(@tree).each do |sub_hash|
yield(project_attributes.merge(include: sub_hash))
end
rescue => e
@shared.error(e)
false
......
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