aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorJack Nagel2013-02-17 22:48:38 -0600
committerJack Nagel2013-02-18 12:13:34 -0600
commitbaffb31aab16e30c850686d42a574495d51cc396 (patch)
treec3cc712e08132bf01945967a6a19a9ba608e253e /Library/Homebrew/exceptions.rb
parent4a281cd5cf8f722d73a4f50612e8c460f57fddd7 (diff)
downloadbrew-baffb31aab16e30c850686d42a574495d51cc396.tar.bz2
Silence "`*` interpreted as argument prefix" warnings
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index a1dcb101d..1326a017b 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -134,13 +134,13 @@ class BuildError < Homebrew::InstallationError
onoe "#{formula.name} did not build"
unless (logs = Dir["#{ENV['HOME']}/Library/Logs/Homebrew/#{formula}/*"]).empty?
print "Logs: "
- puts *logs.map{|fn| " #{fn}"}
+ puts logs.map{|fn| " #{fn}"}.join("\n")
end
end
puts
unless issues.empty?
puts "These open issues may also help:"
- puts *issues.map{ |s| " #{s}" }
+ puts issues.map{ |s| " #{s}" }.join("\n")
end
end
end