Skip to content
Snippets Groups Projects
Commit 88a75af1 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

audit: don't recommend version aliases on --devel.

As requested in #11462 by @neutric as this produces confusing,
incorrect output.
parent 5d74069b
No related branches found
No related tags found
No related merge requests found
......@@ -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 &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment