info: rubocop
This commit is contained in:
parent
971e53c001
commit
b0d25d83fe
@ -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?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user