Skip to content

Commit

Permalink
Merge pull request #2483 from MikeMcQuaid/audit-no-devel-version-alias
Browse files Browse the repository at this point in the history
audit: don't recommend version aliases on --devel.
  • Loading branch information
MikeMcQuaid committed Apr 15, 2017
2 parents 30582a5 + 88a75af commit 02f0189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def audit_file
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 &&
Expand Down

0 comments on commit 02f0189

Please sign in to comment.