From d5733a4133bdad55a002041ebb2cd41c293f76cd Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 9 Apr 2021 14:12:40 +0100 Subject: [PATCH] Remove some premature `odisabled` See https://github.com/Homebrew/brew/pull/11075#discussion_r610602507 --- Library/Homebrew/compat/early/download_strategy.rb | 2 +- Library/Homebrew/livecheck/livecheck.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]