diff options
| author | Jack Nagel | 2014-10-13 23:13:00 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-13 23:13:00 -0500 |
| commit | 98a12e7a3efc3e1c59235d30c8b8815c84e33ce8 (patch) | |
| tree | ed66bff6e2917508f4ad239d6b7dc133ba595a46 /Library/Homebrew/cmd | |
| parent | d5b561e681a8c2dc5b50d7c1f9c3a9a0caa2fddc (diff) | |
| download | homebrew-98a12e7a3efc3e1c59235d30c8b8815c84e33ce8.tar.bz2 | |
Simplify post-install audit output
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 |
