From 9a2f84d4a553b79e5f08e7c440a3d2108033a946 Mon Sep 17 00:00:00 2001 From: lionellloh Date: Sun, 12 Jul 2020 11:18:02 +0800 Subject: [PATCH] Modify to_hash output --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index f29013b75f..38896711bf 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1682,7 +1682,7 @@ class Formula "aliases" => aliases.sort, "versioned_formulae" => versioned_formulae.map(&:name), "desc" => desc, - "license" => license.class == String ? [license] : license, + "license" => license, "homepage" => homepage, "versions" => { "stable" => stable&.version&.to_s,