Use newlines in package info

This commit is contained in:
Will Faught 2024-04-12 09:52:37 -07:00
parent 661f78e9c1
commit 29c561eb59

View File

@ -68,9 +68,9 @@ module Homebrew
info += if (contents = tap.contents).blank? info += if (contents = tap.contents).blank?
"\nNo commands/casks/formulae" "\nNo commands/casks/formulae"
else else
contents.join(", ") "\n#{contents.join(", ")}"
end end
info += ", private" if tap.private? info += "\nPrivate" if tap.private?
info += "\n#{tap.path} (#{tap.path.abv})" info += "\n#{tap.path} (#{tap.path.abv})"
info += "\nFrom: #{tap.remote.presence || "N/A"}" info += "\nFrom: #{tap.remote.presence || "N/A"}"
else else