diff options
| author | Xu Cheng | 2015-09-13 17:33:35 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2015-09-13 17:33:35 +0800 | 
| commit | 002f8f2eb79af9db832133ca785abf6097582e3a (patch) | |
| tree | 77554bb899e7a6e5fdabcba4a6a0f8ed1b6c1fc2 /Library/Homebrew/cmd/audit.rb | |
| parent | e21bb27c2ecb66ad5001c6fd29fcd3382c25666d (diff) | |
| download | brew-002f8f2eb79af9db832133ca785abf6097582e3a.tar.bz2 | |
audit: handle tap aliases
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index d240fb217..89395c015 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -210,7 +210,8 @@ class FormulaAuditor      end    end -  @@aliases ||= Formula.aliases +  # core aliases + tap alias names + tap alias full name +  @@aliases ||= Formula.aliases + Formula.tap_aliases    def audit_formula_name      return unless @strict @@ -220,7 +221,7 @@ class FormulaAuditor      name = formula.name      full_name = formula.full_name -    if @@aliases.include? name +    if Formula.aliases.include? name        problem "Formula name conflicts with existing aliases."        return      end  | 
