Skip to content
Snippets Groups Projects
Unverified Commit 6d0fb50c authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #8697 from MikeMcQuaid/formula-json-license-string

formula: use pretty license output in JSON.
parents 6736ff47 5d82f674
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment