diff --git a/Library/Homebrew/compat/early/download_strategy.rb b/Library/Homebrew/compat/early/download_strategy.rb index 097193cfe9..2df8500f94 100644 --- a/Library/Homebrew/compat/early/download_strategy.rb +++ b/Library/Homebrew/compat/early/download_strategy.rb @@ -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 diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index 7933aa2f2f..fbc3d9e586 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -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]