info: handle license array.

Fixes https://github.com/Homebrew/brew/issues/8132
This commit is contained in:
Mike McQuaid 2020-07-29 11:01:37 +01:00
parent 06f078fad2
commit 5606817293
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

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"