aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
-rw-r--r--Library/Homebrew/cmd/info.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index 98200a0b4..731156f95 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -169,8 +169,8 @@ module Homebrew
Homebrew.dump_options_for_formula f
end
- c = Caveats.new(f)
- ohai "Caveats", c.caveats unless c.empty?
+ caveats = Caveats.new(f)
+ ohai "Caveats", caveats.to_s unless caveats.empty?
end
def decorate_dependencies(dependencies)