lib/rake/funnel/support/timing/report.rb in rake-funnel-0.21.0 vs lib/rake/funnel/support/timing/report.rb in rake-funnel-0.21.1
- old
+ new
@@ -82,12 +82,12 @@
def status_message # rubocop:disable Metrics/AbcSize
status = @opts[:failed] ? 'Failed' : 'OK'
status = 'Status'.ljust(columns[0].width) + ' ' * SPACE + status
if @opts[:failed]
- $stderr.puts status.bold.red
+ Kernel.warn(status.bold.red)
else
- $stdout.puts status.bold.green
+ $stdout.puts(status.bold.green)
end
end
end
end
end