summaryrefslogtreecommitdiff
path: root/rubocop/cop/gitlab/bulk_insert.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/gitlab/bulk_insert.rb')
-rw-r--r--rubocop/cop/gitlab/bulk_insert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/gitlab/bulk_insert.rb b/rubocop/cop/gitlab/bulk_insert.rb
index c03ffbe0b2a..83d879ddf44 100644
--- a/rubocop/cop/gitlab/bulk_insert.rb
+++ b/rubocop/cop/gitlab/bulk_insert.rb
@@ -9,7 +9,7 @@ module RuboCop
MSG = 'Use the `BulkInsertSafe` concern, instead of using `Gitlab::Database.bulk_insert`. See https://docs.gitlab.com/ee/development/insert_into_tables_in_batches.html'
def_node_matcher :raw_union?, <<~PATTERN
- (send (const (const nil? :Gitlab) :Database) :bulk_insert ...)
+ (send (const (const _ :Gitlab) :Database) :bulk_insert ...)
PATTERN
def on_send(node)