diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-15 06:09:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-15 06:09:24 +0300 |
commit | 5fe82ba3d39345ce6c6df14a10b13998b13c68b2 (patch) | |
tree | 33c18c58ff44cb1c8301798bf2f2edbb80ac746d /rubocop | |
parent | 09bd62c59d070ab2bbcb4079a44dcb78c76666b5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop')
-rw-r--r-- | rubocop/cop/gitlab/bulk_insert.rb | 2 |
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) |