formula: make JSON caveats output use consistent prefix.
This will avoid this changing depending on the generation location.
This commit is contained in:
parent
2ca56f6731
commit
5d729dd310
@ -1631,7 +1631,7 @@ class Formula
|
|||||||
.uniq,
|
.uniq,
|
||||||
"requirements" => [],
|
"requirements" => [],
|
||||||
"conflicts_with" => conflicts.map(&:name),
|
"conflicts_with" => conflicts.map(&:name),
|
||||||
"caveats" => caveats,
|
"caveats" => caveats&.gsub(HOMEBREW_PREFIX, "$(brew --prefix)"),
|
||||||
"installed" => [],
|
"installed" => [],
|
||||||
"linked_keg" => linked_version&.to_s,
|
"linked_keg" => linked_version&.to_s,
|
||||||
"pinned" => pinned?,
|
"pinned" => pinned?,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user