lib/rake/funnel/integration/progress_report.rb in rake-funnel-0.22.1 vs lib/rake/funnel/integration/progress_report.rb in rake-funnel-0.22.2
- old
+ new
@@ -6,10 +6,11 @@
class ProgressReport
attr_reader :starting, :finished
def initialize
task_starting do |task, _args|
- puts "\n[#{task.name}]".bold.cyan unless Rake::Funnel::Integration::TeamCity.running?
+ name = "[#{task.name}]".bold.cyan
+ print "\n#{name}\n" unless Rake::Funnel::Integration::TeamCity.running?
end
yield self if block_given?
patch.apply!