From c081b3d97581bb1f4fa0541a3d41f0fd2fcf428c Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Tue, 2 May 2017 19:03:03 +0100 Subject: caveats: chomp keg_only reason --- Library/Homebrew/caveats.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 2032e9ff1..ee09063fd 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -46,7 +46,7 @@ class Caveats s = <<-EOS.undent This formula is keg-only, which means it was not symlinked into #{HOMEBREW_PREFIX}, - because #{f.keg_only_reason}. + because #{f.keg_only_reason.to_s.chomp}. EOS if f.bin.directory? || f.sbin.directory? s << "\nIf you need to have this software first in your PATH run:\n" -- cgit v1.2.3