Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/database/rescue_statement_timeout.rb')
-rw-r--r--rubocop/cop/database/rescue_statement_timeout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/database/rescue_statement_timeout.rb b/rubocop/cop/database/rescue_statement_timeout.rb
index 0b75a441e29..a0e9396e8f4 100644
--- a/rubocop/cop/database/rescue_statement_timeout.rb
+++ b/rubocop/cop/database/rescue_statement_timeout.rb
@@ -20,7 +20,7 @@ module RuboCop
# # good
#
# run_cheap_queries_with_each_batch
- class RescueStatementTimeout < RuboCop::Cop::Cop
+ class RescueStatementTimeout < RuboCop::Cop::Base
MSG = <<~EOF
Avoid rescuing the `ActiveRecord::StatementTimeout` class.