aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_support.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-03-21 14:49:22 +0100
committerGitHub2017-03-21 14:49:22 +0100
commit7d068d468d7d6773f0f8d22dbb98c5766e3c19fe (patch)
tree8bbb240824388cde822fb94b2637b869f15f6316 /Library/Homebrew/formula_support.rb
parentb3a32070fe708047c8feee604797e94dbec74f9d (diff)
parenteadbd95d2c785c78ac4d6deee37e0841fc155d6b (diff)
downloadbrew-7d068d468d7d6773f0f8d22dbb98c5766e3c19fe.tar.bz2
Merge pull request #2365 from MikeMcQuaid/audit-provided-by-macos
audit: check system dupe deps on new formulae.
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
-rw-r--r--Library/Homebrew/formula_support.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index dcb995a6b..b8476f5cc 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -4,6 +4,8 @@ FormulaConflict = Struct.new(:name, :reason)
# Used to annotate formulae that duplicate macOS provided software
# or cause conflicts when linked in.
class KegOnlyReason
+ attr_reader :reason
+
def initialize(reason, explanation)
@reason = reason
@explanation = explanation