info: rubocop
This commit is contained in:
parent
971e53c001
commit
b0d25d83fe
@ -123,10 +123,10 @@ module Homebrew
|
|||||||
puts f.desc if f.desc
|
puts f.desc if f.desc
|
||||||
puts Formatter.url(f.homepage) if f.homepage
|
puts Formatter.url(f.homepage) if f.homepage
|
||||||
|
|
||||||
conflicts = f.conflicts.map{ |f|
|
conflicts = f.conflicts.map do |c|
|
||||||
f.name +
|
c.name +
|
||||||
if f.reason then " (because #{f.reason})" else "" end
|
(c.reason ? " (because #{c.reason})" : "")
|
||||||
}.sort!
|
end.sort!
|
||||||
msg="Conflicts with: "
|
msg="Conflicts with: "
|
||||||
puts msg+conflicts*(",\n"+" "*msg.length) unless conflicts.empty?
|
puts msg+conflicts*(",\n"+" "*msg.length) unless conflicts.empty?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user