lib/invoker/command_worker.rb in invoker-1.5.4 vs lib/invoker/command_worker.rb in invoker-1.5.5
- old
+ new
@@ -23,10 +23,10 @@
end
# Print the lines received over the network
def receive_line(line)
tail_watchers = Invoker.tail_watchers[@command_label]
- color_line = "#{@command_label.color(color)} : #{line}"
+ color_line = "#{@command_label.colorize(color)} : #{line}"
plain_line = "#{@command_label} : #{line}"
if Invoker.nocolors?
Invoker::Logger.puts plain_line
else
Invoker::Logger.puts color_line