Π·Π΅Ρ€ΠΊΠ°Π»ΠΎ ΠΈΠ·
1
0
Π€ΠΎΡ€ΠΊΠ½ΡƒΡ‚ΡŒ 0
This commit is contained in:
Matt Todd 2015-01-14 17:00:32 -08:00
Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ 0d9b7978c2
ΠšΠΎΠΌΠΌΠΈΡ‚ 2f49d6b494
1 ΠΈΠ·ΠΌΠ΅Π½Ρ‘Π½Π½Ρ‹Ρ… Ρ„Π°ΠΉΠ»ΠΎΠ²: 0 Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠΉ ΠΈ 5 ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠΉ

ΠŸΡ€ΠΎΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ Ρ„Π°ΠΉΠ»

@ -49,11 +49,6 @@ module GitHub
depth.times do |n|
# find every (new, unique) member entry
depth_subentries = entries.each_with_object([]) do |entry, depth_entries|
submembers = entry["member"]
# skip any members we've already found
submembers.reject! { |dn| found.key?(dn) }
# find members of subgroup, including subgroups (N queries)
subentries = member_entries(entry)
next if subentries.empty?