aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-13 23:13:00 -0500
committerJack Nagel2014-10-13 23:13:00 -0500
commitb46ebf8a29d9ac150895f426cbcf9a78359709ec (patch)
treef27d2aea39951dd7277c087c2c584caed9c8258b /Library/Homebrew/formula_installer.rb
parent09d53f4fc567dfafb6d9c71742f4633762f55d7c (diff)
downloadbrew-b46ebf8a29d9ac150895f426cbcf9a78359709ec.tar.bz2
Simplify post-install audit output
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
-rw-r--r--Library/Homebrew/formula_installer.rb11
1 files changed, 5 insertions, 6 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 7723c0f8d..4b437e61d 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -639,12 +639,11 @@ class FormulaInstaller
## checks
- def print_check_output warning_and_description
- return unless warning_and_description
- warning, description = *warning_and_description
- opoo warning
- puts description
- @show_summary_heading = true
+ def print_check_output(output)
+ if output
+ opoo output
+ @show_summary_heading = true
+ end
end
def audit_bin