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/usage_data/instrumentation_superclass.rb')
-rw-r--r--rubocop/cop/usage_data/instrumentation_superclass.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/usage_data/instrumentation_superclass.rb b/rubocop/cop/usage_data/instrumentation_superclass.rb
index 2ff2ed47a23..601f2340582 100644
--- a/rubocop/cop/usage_data/instrumentation_superclass.rb
+++ b/rubocop/cop/usage_data/instrumentation_superclass.rb
@@ -16,7 +16,7 @@ module RuboCop
# class CountIssues < BaseMetric
# # ...
# end
- class InstrumentationSuperclass < RuboCop::Cop::Cop
+ class InstrumentationSuperclass < RuboCop::Cop::Base
MSG = "Instrumentation classes should subclass one of the following: %{allowed_classes}."
BASE_PATTERN = "(const nil? !#allowed_class?)"