Commit ba879a10 authored by Vladimir Pouzanov's avatar Vladimir Pouzanov

Do not update cache if it does not actually exist at download_head

parent 35270d28
...@@ -100,8 +100,11 @@ module Pod ...@@ -100,8 +100,11 @@ module Pod
end end
def download_head def download_head
create_cache unless cache_exist? if cache_exist?
update_cache update_cache
else
create_cache
end
clone(clone_url, target_path) clone(clone_url, target_path)
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