bin/tl in testlab-1.0.1 vs bin/tl in testlab-1.1.0
- old
+ new
@@ -99,12 +99,14 @@
end
post do |global,command,options,args|
testlab_run_time = (Time.now.utc - @testlab_start_time)
- message = format_message("TestLab v#{TestLab::VERSION} Finished (%0.4f seconds)".black.bold % testlab_run_time)
- @testlab.ui.stdout.puts(message)
- @testlab.ui.logger.info { message }
+ if !@ui.quiet?
+ message = format_message("TestLab v#{TestLab::VERSION} Finished (%0.4f seconds)".black.bold % testlab_run_time)
+ @testlab.ui.stdout.puts(message)
+ @testlab.ui.logger.info { message }
+ end
true
end
on_error do |exception|