formula_auditor: Better keg_only reason message
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
This commit is contained in:
parent
bda88ce96e
commit
13fe1bb4b4
@ -473,7 +473,7 @@ module Homebrew
|
|||||||
keg_only_message = text.to_s.match(/keg_only\s+["'](.*)["']/).captures&.first
|
keg_only_message = text.to_s.match(/keg_only\s+["'](.*)["']/).captures&.first
|
||||||
return unless keg_only_message&.include?("HOMEBREW_PREFIX")
|
return unless keg_only_message&.include?("HOMEBREW_PREFIX")
|
||||||
|
|
||||||
problem "`keg_only` reason should not include `HOMEBREW_PREFIX` as it provides confusing output."
|
problem "`keg_only` reason should not include `HOMEBREW_PREFIX` as it creates confusing `brew info` output."
|
||||||
end
|
end
|
||||||
|
|
||||||
def audit_versioned_keg_only
|
def audit_versioned_keg_only
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user