diff options
| author | Jack Nagel | 2014-10-13 23:13:00 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-13 23:13:00 -0500 |
| commit | b46ebf8a29d9ac150895f426cbcf9a78359709ec (patch) | |
| tree | f27d2aea39951dd7277c087c2c584caed9c8258b /Library/Homebrew/cmd/audit.rb | |
| parent | 09d53f4fc567dfafb6d9c71742f4633762f55d7c (diff) | |
| download | brew-b46ebf8a29d9ac150895f426cbcf9a78359709ec.tar.bz2 | |
Simplify post-install audit output
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
| -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 |
