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 971381a commit 62af283Copy full SHA for 62af283
lib/cocoapods-binary/helper/prebuild_sandbox.rb
@@ -53,7 +53,8 @@ def save_pod_name_for_target(target)
53
def pod_name_for_target_folder(target_folder_path)
54
name = Pathname.new(target_folder_path).children.find do |child|
55
child.to_s.end_with? ".pod_name"
56
- end.basename(".pod_name").to_s
+ end
57
+ name = name.basename(".pod_name").to_s unless name.nil?
58
name ||= Pathname.new(target_folder_path).basename.to_s # for compatibility with older version
59
end
60
0 commit comments