We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99f90d8 commit 01430edCopy full SHA for 01430ed
lib/cocoapods-binary/helper/prebuild_sandbox.rb
@@ -50,7 +50,7 @@ def save_pod_name_for_target(target)
50
private
51
52
def pod_name_for_target_folder(target_folder_path)
53
- name = Pathname.new(target_folder_path).children.first do |child|
+ name = Pathname.new(target_folder_path).children.find do |child|
54
child.to_s.end_with? ".pod_name"
55
end.basename(".pod_name").to_s
56
name ||= Pathname.new(target_folder_path).basename.to_s # for compatibility with older version
0 commit comments