Commit 39bb72a2 authored by Marius Rackwitz's avatar Marius Rackwitz

Fix crash in Analyzer#compute_user_project_targets_require_framework

Fixes the fix in f1a88a4c491a3732bac6df04d7204b8a68034d55.
parent b3083f10
...@@ -583,7 +583,7 @@ module Pod ...@@ -583,7 +583,7 @@ module Pod
if file_ref.respond_to?(:last_known_file_type) if file_ref.respond_to?(:last_known_file_type)
file_ref.last_known_file_type == 'sourcecode.swift' file_ref.last_known_file_type == 'sourcecode.swift'
elsif file_ref.respond_to?(:files) elsif file_ref.respond_to?(:files)
file_ref.files.any?(file_predicate) file_ref.files.any?(&file_predicate)
else else
false false
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