Commit 979b1f4f authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Downloader] Print a message in verbose mode when copying the pod

parent eeb05df6
......@@ -33,9 +33,11 @@ module Pod
cache = Cache.new(cache_path)
result = cache.download_pod(request)
if target
UI.message "Copying #{request.name} from `#{result.location}` to #{UI.path target}", '> ' do
FileUtils.rm_rf target
FileUtils.cp_r(result.location, target)
end
end
result
ensure
FileUtils.rm_r cache_path if tmp_cache
......
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