Merge pull request #8134 from MikeMcQuaid/info-licenses

info: handle license array.
This commit is contained in:
Mike McQuaid 2020-07-29 11:23:57 +01:00 committed by GitHub
commit aed65a20d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@ module Homebrew
puts "From: #{Formatter.url(github_info(f))}"
puts "License: #{f.license}" if f.license
puts "License: #{f.license.join(", ")}" if f.license
unless f.deps.empty?
ohai "Dependencies"