Remove some premature odisabled
See https://github.com/Homebrew/brew/pull/11075#discussion_r610602507
This commit is contained in:
parent
576ec2c9a3
commit
d5733a4133
@ -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