diff options
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 6 |
1 files changed, 2 insertions, 4 deletions
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 |
