From 560681729382916b4a84bc05ab540dd9f13be2a1 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 29 Jul 2020 11:01:37 +0100 Subject: [PATCH] info: handle license array. Fixes https://github.com/Homebrew/brew/issues/8132 --- Library/Homebrew/cmd/info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index bcd8a71e3..8a3cb6ae5 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -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"