PageMatch: Return fetched content in match_data
If we want caching to work in the `Xorg` strategy, it's necessary to pass fetched content back in the `match_data` hash.
This commit is contained in:
parent
5143b8629a
commit
eedd108ace
@ -92,7 +92,7 @@ module Homebrew
|
||||
provided_content
|
||||
else
|
||||
match_data.merge!(Strategy.page_content(url))
|
||||
match_data.delete(:content)
|
||||
match_data[:content]
|
||||
end
|
||||
return match_data if content.blank?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user