lib/rcoli/model.rb in rcoli-0.5.6 vs lib/rcoli/model.rb in rcoli-0.5.7
- old
+ new
@@ -193,10 +193,10 @@
raise "Invalid configuration. Missing action block." unless action
# enable/disable logging level DEBUG
if (result.global_options['debug'])
context.instance_exec do
- @log.level = Logger::DEBUG
+ log.level = Logger::DEBUG
end
end
# execution of the pre block
context.instance_exec(result.global_options, result.options, result.arguments, &@pre_action) if (@pre_action and !result.command.solitaire?)
\ No newline at end of file