lib/rake/funnel/extensions/shell.rb in rake-funnel-0.9.0.pre vs lib/rake/funnel/extensions/shell.rb in rake-funnel-0.9.1.pre

- old
+ new

@@ -67,17 +67,17 @@ def handle_line(line, error_lines) to_stderr(line, error_lines) || to_stdout(line) end def to_stdout(line) - $stdout.puts line.sub(/\n$/, '').green + $stdout.puts line.rstrip.green :success end def to_stderr(line, error_lines) return unless error_lines && line =~ error_lines - $stderr.puts line.sub(/\n$/, '').bold.red + $stderr.puts line.rstrip.bold.red :error end end end end