Merge pull request #11089 from MikeMcQuaid/remove_odisabled

Remove some premature `odisabled`
This commit is contained in:
Mike McQuaid 2021-04-09 14:43:23 +01:00 committed by GitHub
commit 79940b2a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class AbstractDownloadStrategy
rescue ArgumentError => e
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)
super(*args, **options)
end

View File

@ -533,7 +533,7 @@ module Homebrew
rescue ArgumentError => e
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
match_version_map = strategy_data[:matches]
regex = strategy_data[:regex]