summaryrefslogtreecommitdiff
path: root/rubocop/cop/scalability/cron_worker_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/scalability/cron_worker_context.rb')
-rw-r--r--rubocop/cop/scalability/cron_worker_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/scalability/cron_worker_context.rb b/rubocop/cop/scalability/cron_worker_context.rb
index d8eba0f098e..8e754af4dcf 100644
--- a/rubocop/cop/scalability/cron_worker_context.rb
+++ b/rubocop/cop/scalability/cron_worker_context.rb
@@ -23,7 +23,7 @@ module RuboCop
PATTERN
def_node_search :schedules_with_batch_context?, <<~PATTERN
- (send (...) {:bulk_perform_async_with_contexts :bulk_perform_in_with_contexts} (...))
+ (send (...) {:bulk_perform_async_with_contexts :bulk_perform_in_with_contexts} _*)
PATTERN
def on_send(node)