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

fetch: fix --retry with resources.

parent 9c345bfc
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ module Homebrew extend self
puts "Resource: #{r.name}"
fetch_fetchable r
rescue ChecksumMismatchError => e
retry if retry_fetch? f
retry if retry_fetch? r
opoo "Resource #{r.name} reports different #{e.hash_type}: #{e.expected}"
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