mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-27 22:41:16 +08:00
fix build when manifest entries could be nil/empty
This commit is contained in:
@@ -212,7 +212,7 @@ module Motion; module Project;
|
||||
end
|
||||
|
||||
def manifest_xml_lines(toplevel_element)
|
||||
@manifest_entries[toplevel_element].map do |elem|
|
||||
(@manifest_entries[toplevel_element] or []).map do |elem|
|
||||
name = elem[:name]
|
||||
attributes = elem[:attributes]
|
||||
attributes_line = attributes.to_a.map do |key, val|
|
||||
|
||||
Reference in New Issue
Block a user