lib/airbrussh/rake/context.rb in airbrussh-1.3.0 vs lib/airbrussh/rake/context.rb in airbrussh-1.3.1

- old
+ new

@@ -55,10 +55,10 @@ def install_monkey_patch return if ::Rake::Task.instance_methods.include?(:_airbrussh_execute) ::Rake::Task.class_exec do alias_method :_airbrussh_execute, :execute - def execute(args=nil) # rubocop:disable Lint/NestedMethodDefinition + def execute(args=nil) ::Airbrussh::Rake::Context.current_task_name = name.to_s _airbrussh_execute(args) end end end