lib/pod/command/check.rb in cocoapods-check-1.0.0 vs lib/pod/command/check.rb in cocoapods-check-1.0.1
- old
+ new
@@ -39,10 +39,13 @@
end
def find_development_pods(podfile)
development_pods = {}
podfile.dependencies.each do |dependency|
- development_pods[dependency.name] = dependency.external_source if dependency.local?
+ if dependency.local?
+ development_pods[dependency.name] = dependency.external_source.clone
+ development_pods[dependency.name][:path] = File.absolute_path(development_pods[dependency.name][:path])
+ end
end
development_pods
end
def find_differences(config, development_pods)