aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2016-08-12 21:06:00 +0100
committerMike McQuaid2016-08-12 21:06:00 +0100
commite091e74c0c4eef1f75ea3dc7ca93a19fac295cdf (patch)
tree1097b65016cf0cc780047834a02b6c58cd1bb9a6
parentb3ea5c259592697145c7150e71ae0bf886424398 (diff)
downloadbrew-e091e74c0c4eef1f75ea3dc7ca93a19fac295cdf.tar.bz2
global: add Homebrew.raise_deprecation_exceptions
-rw-r--r--Library/Homebrew/global.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb
index 9554dd536..f739f5012 100644
--- a/Library/Homebrew/global.rb
+++ b/Library/Homebrew/global.rb
@@ -51,6 +51,9 @@ module Homebrew
attr_accessor :failed
alias_method :failed?, :failed
+
+ attr_accessor :raise_deprecation_exceptions
+ alias_method :raise_deprecation_exceptions?, :raise_deprecation_exceptions
end
HOMEBREW_PULL_API_REGEX = %r{https://api\.github\.com/repos/([\w-]+)/([\w-]+)?/pulls/(\d+)}