lib/straight_line/common/configure.rb in straight_line-0.1.3.0 vs lib/straight_line/common/configure.rb in straight_line-0.1.4.0
- old
+ new
@@ -7,14 +7,14 @@
def add(name, type, command, opts = {})
Rake.application.in_namespace StraightLine::TASK_NAMESPACE do
Rake::Task.define_task name => opts[:before] do
if type == :shell
cmd = Command.new command
- Util.logger.puts "executing command #{command}. Error results will be
+ Util.logger.info "executing command #{command}. Error results will be
displayed if any ocur"
cmd.run
elsif !name.nil?
- Util.logger.puts "executing task #{command}. Error results will be
+ Util.logger.info "executing task #{command}. Error results will be
displayed if any ocur"
Rake::Task[command].invoke
end
run_after_commands(opts)
end