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/code_reuse/worker.rb')
-rw-r--r--rubocop/cop/code_reuse/worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/code_reuse/worker.rb b/rubocop/cop/code_reuse/worker.rb
index 3a1120ac2a1..f39ffbe9c6f 100644
--- a/rubocop/cop/code_reuse/worker.rb
+++ b/rubocop/cop/code_reuse/worker.rb
@@ -6,7 +6,7 @@ module RuboCop
module Cop
module CodeReuse
# Cop that enforces various code reuse rules for workers.
- class Worker < RuboCop::Cop::Cop
+ class Worker < RuboCop::Cop::Base
include CodeReuseHelpers
IN_CONTROLLER = 'Workers can not be used in a controller.'