Merge pull request #8697 from MikeMcQuaid/formula-json-license-string
formula: use pretty license output in JSON.
This commit is contained in:
commit
6d0fb50cc7
@ -1697,7 +1697,7 @@ class Formula
|
||||
"aliases" => aliases.sort,
|
||||
"versioned_formulae" => versioned_formulae.map(&:name),
|
||||
"desc" => desc,
|
||||
"license" => license,
|
||||
"license" => SPDX.license_expression_to_string(license),
|
||||
"homepage" => homepage,
|
||||
"versions" => {
|
||||
"stable" => stable&.version&.to_s,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user