diff options
| author | Mike McQuaid | 2017-04-10 21:04:26 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-04-10 19:03:44 -0700 |
| commit | 88a75af1c365c4b770807665f692896304accdc9 (patch) | |
| tree | e12a1d60129dec46ae42a758da2a46ce5428f2a6 /Library/Homebrew/dev-cmd | |
| parent | 5d74069b98a9a4a923c748e33b5f101a45ceac83 (diff) | |
| download | brew-88a75af1c365c4b770807665f692896304accdc9.tar.bz2 | |
audit: don't recommend version aliases on --devel.
As requested in #11462 by @neutric as this produces confusing,
incorrect output.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
| -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 ba6c3f333..fb6fb62d0 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -337,7 +337,7 @@ class FormulaAuditor unversioned_name = unversioned_formula.basename(".rb") problem "#{formula} is versioned but no #{unversioned_name} formula exists" end - else + elsif ARGV.build_stable? versioned_formulae = Dir[formula.path.to_s.gsub(/\.rb$/, "@*.rb")] needs_versioned_alias = !versioned_formulae.empty? && formula.tap && |
