From 77201c8d9c98367d9902b7becec77539d352031c Mon Sep 17 00:00:00 2001 From: Franck Trouillez Date: Tue, 19 Mar 2024 23:25:26 +0100 Subject: [PATCH] Update RuboCop ConcurrentIndex message --- lib/rubocop/cop/sequel/concurrent_index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rubocop/cop/sequel/concurrent_index.rb b/lib/rubocop/cop/sequel/concurrent_index.rb index 20ecf34..b16e92f 100644 --- a/lib/rubocop/cop/sequel/concurrent_index.rb +++ b/lib/rubocop/cop/sequel/concurrent_index.rb @@ -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