lib/rake/funnel/extensions/shell.rb in rake-funnel-0.21.0 vs lib/rake/funnel/extensions/shell.rb in rake-funnel-0.21.1

- old
+ new

@@ -68,17 +68,17 @@ def handle_line(line, error_lines) to_stderr(line, error_lines) || to_stdout(line) end def to_stdout(line) - $stdout.puts line.rstrip.green + $stdout.puts(line.rstrip.green) :success end def to_stderr(line, error_lines) return unless error_lines && line =~ error_lines - $stderr.puts line.rstrip.bold.red + Kernel.warn(line.rstrip.bold.red) :error end end end end