From b46ebf8a29d9ac150895f426cbcf9a78359709ec Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 13 Oct 2014 23:13:00 -0500 Subject: Simplify post-install audit output --- Library/Homebrew/cmd/audit.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 68e54999a..ce8c1e9db 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -550,10 +550,8 @@ class FormulaAuditor Symbol === dep ? dep.inspect : "'#{dep}'" end - def audit_check_output warning_and_description - return unless warning_and_description - warning, description = *warning_and_description - problem "#{warning}\n#{description}" + def audit_check_output(output) + problem(output) if output end def audit_installed -- cgit v1.2.3