Skip to content
Snippets Groups Projects
Commit c5885757 authored by Jack Nagel's avatar Jack Nagel
Browse files

Store the object itself in the failed download set

Patches don't respond to "name".
parent 9531ecc7
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ module Homebrew
def retry_fetch? f
@fetch_failed ||= Set.new
if ARGV.include?("--retry") && @fetch_failed.add?(f.name)
if ARGV.include?("--retry") && @fetch_failed.add?(f)
ohai "Retrying download"
f.clear_cache
true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment