Skip to content

Commit

Permalink
Update RuboCop ConcurrentIndex message (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
francktrouillez committed Mar 19, 2024
1 parent f7af8f6 commit be3e0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/sequel/concurrent_index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Cop
module Sequel
# ConcurrentIndex looks for non-concurrent index creation.
class ConcurrentIndex < Base
MSG = 'Prefer creating or dropping new index concurrently'
MSG = 'Specify `concurrently` option when creating or dropping an index.'
RESTRICT_ON_SEND = %i[add_index drop_index].freeze

def_node_matcher :indexes?, <<-MATCHER
Expand Down

0 comments on commit be3e0d2

Please sign in to comment.