Merge pull request #11089 from MikeMcQuaid/remove_odisabled
Remove some premature `odisabled`
This commit is contained in:
commit
79940b2a27
@ -17,7 +17,7 @@ class AbstractDownloadStrategy
|
|||||||
rescue ArgumentError => e
|
rescue ArgumentError => e
|
||||||
raise unless e.message.include?("timeout")
|
raise unless e.message.include?("timeout")
|
||||||
|
|
||||||
odisabled "`def _fetch` in a subclass of `CurlDownloadStrategy`"
|
odeprecated "`def _fetch` in a subclass of `CurlDownloadStrategy`"
|
||||||
options.delete(:timeout)
|
options.delete(:timeout)
|
||||||
super(*args, **options)
|
super(*args, **options)
|
||||||
end
|
end
|
||||||
|
|||||||
@ -533,7 +533,7 @@ module Homebrew
|
|||||||
rescue ArgumentError => e
|
rescue ArgumentError => e
|
||||||
raise unless e.message.include?("unknown keyword: cask")
|
raise unless e.message.include?("unknown keyword: cask")
|
||||||
|
|
||||||
odisabled "`def self.find_versions` in `#{strategy}` without a `cask` parameter"
|
odeprecated "`def self.find_versions` in `#{strategy}` without a `cask` parameter"
|
||||||
end
|
end
|
||||||
match_version_map = strategy_data[:matches]
|
match_version_map = strategy_data[:matches]
|
||||||
regex = strategy_data[:regex]
|
regex = strategy_data[:regex]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user