Commit 71fcca15 authored by Samuel Giddins's avatar Samuel Giddins

[ModuleMap] Fix indentation when there are multiple headers

parent 7735b605
...@@ -41,7 +41,9 @@ module Pod ...@@ -41,7 +41,9 @@ module Pod
# #
def initialize(target) def initialize(target)
@target = target @target = target
@headers = [Header.new(target.umbrella_header_path.basename, true)] @headers = [
Header.new(target.umbrella_header_path.basename, true),
]
end end
# Generates and saves the Info.plist to the given path. # Generates and saves the Info.plist to the given path.
...@@ -64,12 +66,12 @@ module Pod ...@@ -64,12 +66,12 @@ module Pod
# #
def generate def generate
<<-MODULE_MAP.strip_heredoc <<-MODULE_MAP.strip_heredoc
#{module_specificier_prefix}module #{target.product_module_name} { #{module_specificier_prefix}module #{target.product_module_name} {
#{headers.join("\n ")} #{headers.join("\n ")}
export * export *
module * { export * } module * { export * }
} }
MODULE_MAP MODULE_MAP
end 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