Commit c45b1bef authored by Boris Bügling's avatar Boris Bügling

[Target] Simplify.

parent ce7c9ce4
......@@ -55,7 +55,7 @@ module Pod
# will be integrated by this target.
#
def user_targets(project = nil)
return [] if user_project_path.nil?
return [] unless user_project_path
project ||= Xcodeproj::Project.open(user_project_path)
user_target_uuids.map do |uuid|
native_target = project.objects_by_uuid[uuid]
......
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