Skip to content
Snippets Groups Projects
Commit b0d25d83 authored by John Hawkinson's avatar John Hawkinson
Browse files

info: rubocop

parent 971e53c0
No related branches found
No related tags found
No related merge requests found
......@@ -123,10 +123,10 @@ module Homebrew
puts f.desc if f.desc
puts Formatter.url(f.homepage) if f.homepage
conflicts = f.conflicts.map{ |f|
f.name +
if f.reason then " (because #{f.reason})" else "" end
}.sort!
conflicts = f.conflicts.map do |c|
c.name +
(c.reason ? " (because #{c.reason})" : "")
end.sort!
msg="Conflicts with: "
puts msg+conflicts*(",\n"+" "*msg.length) unless conflicts.empty?
......
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