Passing an empty array to puts prints nothing
This commit is contained in:
parent
7078af8218
commit
86b3090d4d
@ -45,7 +45,7 @@ end
|
||||
def ohai title, *sput
|
||||
title = Tty.truncate(title) if $stdout.tty? && !ARGV.verbose?
|
||||
puts "#{Tty.blue}==>#{Tty.white} #{title}#{Tty.reset}"
|
||||
puts sput unless sput.empty?
|
||||
puts sput
|
||||
end
|
||||
|
||||
def oh1 title
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user