lib/cocoapods-binary/prebuild_sandbox.rb in cocoapods-binary-0.1.2 vs lib/cocoapods-binary/prebuild_sandbox.rb in cocoapods-binary-0.2
- old
+ new
@@ -18,10 +18,10 @@
def framework_path_for_pod_name(name)
self.generate_framework_path + "#{name}.framework"
end
def exsited_framework_names
- [] unless generate_framework_path.exist?
+ return [] unless generate_framework_path.exist?
generate_framework_path.children.map do |framework_name|
extension = File.extname(framework_name)
if extension == ".framework"
File.basename(framework_name, extension)
else