Commit a6ba9be1 authored by Fabio Pelosin's avatar Fabio Pelosin

[PodSourceInstaller] Fix clean paths bug

parent 61f905ad
...@@ -272,7 +272,7 @@ module Pod ...@@ -272,7 +272,7 @@ module Pod
def used_files def used_files
files = [ files = [
file_accessors.map(&:source_files), file_accessors.map(&:source_files),
file_accessors.map(&:resources), file_accessors.map(&:resources).first.values, #TODO
file_accessors.map(&:preserve_paths), file_accessors.map(&:preserve_paths),
file_accessors.map(&:prefix_header), file_accessors.map(&:prefix_header),
file_accessors.map(&:readme), file_accessors.map(&:readme),
...@@ -281,6 +281,7 @@ module Pod ...@@ -281,6 +281,7 @@ module Pod
files.compact! files.compact!
files.flatten! files.flatten!
files.map!{ |path| path.to_s } files.map!{ |path| path.to_s }
files.reject! { |path| path == "" } #TODO
files files
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