Commit b664f190 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop]

parent c080f472
...@@ -107,7 +107,6 @@ module Pod ...@@ -107,7 +107,6 @@ module Pod
FileUtils.cp_r(source, destination) FileUtils.cp_r(source, destination)
Sandbox::PodDirCleaner.new(destination, specs_by_platform).clean! Sandbox::PodDirCleaner.new(destination, specs_by_platform).clean!
end end
end end
end end
end end
...@@ -298,7 +298,6 @@ module Pod ...@@ -298,7 +298,6 @@ module Pod
end end
end end
@pod_installers ||= [] @pod_installers ||= []
pod_installer = PodSourceInstaller.new(sandbox, specs_by_platform) pod_installer = PodSourceInstaller.new(sandbox, specs_by_platform)
pod_installer.install! pod_installer.install!
......
...@@ -76,7 +76,7 @@ module Pod ...@@ -76,7 +76,7 @@ module Pod
# @return [void] # @return [void]
# #
def download_source def download_source
released = !local? && !head_pod? &&!predownloaded? released = !local? && !head_pod? && !predownloaded?
download_result = config.download_cache.download_pod(root_spec, released, nil, head_pod?) download_result = config.download_cache.download_pod(root_spec, released, nil, head_pod?)
root.rmtree if root.exist? root.rmtree if root.exist?
FileUtils.cp_r(download_result.location, root) FileUtils.cp_r(download_result.location, root)
......
...@@ -77,6 +77,5 @@ module Pod ...@@ -77,6 +77,5 @@ module Pod
paths = @cleaner.send(:used_files) paths = @cleaner.send(:used_files)
paths.should == [] paths.should == []
end end
end end
end end
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