From 13fe1bb4b47378a316f0e4d8544112447bb4b4d4 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sat, 18 Mar 2023 15:27:35 +0000 Subject: [PATCH] formula_auditor: Better `keg_only` reason message Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> --- Library/Homebrew/formula_auditor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index db2df12d4c..02947c0428 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -473,7 +473,7 @@ module Homebrew keg_only_message = text.to_s.match(/keg_only\s+["'](.*)["']/).captures&.first 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 def audit_versioned_keg_only