aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-04-15 06:26:28 -0700
committerGitHub2017-04-15 06:26:28 -0700
commit02f0189335907805d422c817462674081f48ab60 (patch)
tree764e2caf86265cb737e01eb8f56388c7c844e6e4 /Library
parent30582a5fbd35843e183f1591cc8413309fa5e705 (diff)
parent88a75af1c365c4b770807665f692896304accdc9 (diff)
downloadbrew-02f0189335907805d422c817462674081f48ab60.tar.bz2
Merge pull request #2483 from MikeMcQuaid/audit-no-devel-version-alias
audit: don't recommend version aliases on --devel.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
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 &&