Commit 6318a0a4 authored by Fabio Pelosin's avatar Fabio Pelosin

Merge branch 'master' of github.com:CocoaPods/CocoaPods into develop

* 'master' of github.com:CocoaPods/CocoaPods:
  Array#flatten! returns nil if no modifications were made (i.e., array contains no subarrays.)
parents 5a0a496b 53ac9ff8
......@@ -305,7 +305,7 @@ module Pod
all_specs = [ top_specification ] + top_specification.subspecs
options = {:glob => '*.{h}'}
files = paths_by_spec(:source_files, options, all_specs).values.flatten!
files = paths_by_spec(:source_files, options, all_specs).values.flatten
headers = files.select { |f| f.extname == '.h' }
headers
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