diff options
| author | Mike McQuaid | 2017-04-05 08:34:58 +0100 |
|---|---|---|
| committer | GitHub | 2017-04-05 08:34:58 +0100 |
| commit | dbc9cd7aa37f3215efa834345445fc0af4df33e2 (patch) | |
| tree | 2849482337aac23917977971a654af4bbc741598 /Library | |
| parent | ecd81198f3b2edba2f8a9232bb9b0dfcc48737a3 (diff) | |
| parent | 57b230dd5c9ff01f59b2c6e0f8c527bbc95b9dce (diff) | |
| download | brew-dbc9cd7aa37f3215efa834345445fc0af4df33e2.tar.bz2 | |
Merge pull request #2454 from MikeMcQuaid/audit-fix-core-formula-alias-check
audit: fix core formula alias check.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 1a4bb24a1..5f4eda08e 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -476,7 +476,7 @@ class FormulaAuditor end if @@aliases.include?(dep.name) && - (core_formula? || !dep_f.versioned_formula?) + (dep_f.core_formula? || !dep_f.versioned_formula?) problem "Dependency '#{dep.name}' is an alias; use the canonical name '#{dep.to_formula.full_name}'." end |
