Commit a5bec522 authored by Will Pragnell's avatar Will Pragnell

Speculative fix for possible bug when a pod has no licence

parent f23ff798
......@@ -31,7 +31,11 @@ module Pod
def licenses
licences_array = [header]
@pods.each { |pod| licences_array << hash_for_pod(pod) }
@pods.each do |pod|
if (hash = hash_for_pod(pod))
licences_array << hash
end
end
licences_array << footnote
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