Skip to content
Snippets Groups Projects
Commit cb047a22 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

fetch: fix overloading Homebrew.failed.

parent 037acb81
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,8 @@ module Homebrew extend self
private
def retry_fetch? f
@failed ||= {}
already_failed = @failed.fetch(f.name, false)
@fetch_failed ||= {}
already_failed = @fetch_failed.fetch(f.name, false)
if already_failed || !ARGV.include?("--retry")
Homebrew.failed = true
......@@ -51,7 +51,7 @@ module Homebrew extend self
end
f.clear_cache
@failed[f.name] = true
@fetch_failed[f.name] = true
true
end
......
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