aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-08 12:04:38 +0200
committerMarkus Reiter2016-10-08 13:26:10 +0200
commitb306f14b97de12b171af139f658959a8d5928440 (patch)
tree84f8f95acd9c72168df2053b8bd104c8611fc3a4 /Library/Homebrew/utils.rb
parent0c3bb42a8a4ac46cc2622cb6660565e186d9df2b (diff)
downloadbrew-b306f14b97de12b171af139f658959a8d5928440.tar.bz2
Rename FormulaMethodDeprecatedError to MethodDeprecatedError.
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index fbe603b91..79e5287e8 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -83,7 +83,7 @@ def odeprecated(method, replacement = nil, options = {})
if ARGV.homebrew_developer? || options[:die] ||
Homebrew.raise_deprecation_exceptions?
- raise FormulaMethodDeprecatedError, message
+ raise MethodDeprecatedError, message
else
opoo "#{message}\n"
end