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/gitlab/finder_with_find_by.rb')
-rw-r--r--rubocop/cop/gitlab/finder_with_find_by.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/gitlab/finder_with_find_by.rb b/rubocop/cop/gitlab/finder_with_find_by.rb
index ac454398f9c..e6d190e4476 100644
--- a/rubocop/cop/gitlab/finder_with_find_by.rb
+++ b/rubocop/cop/gitlab/finder_with_find_by.rb
@@ -6,7 +6,7 @@ module RuboCop
class FinderWithFindBy < RuboCop::Cop::Base
extend RuboCop::Cop::AutoCorrector
- FIND_PATTERN = /\Afind(_by!?)?\z/.freeze
+ FIND_PATTERN = /\Afind(_by!?)?\z/
ALLOWED_MODULES = ['FinderMethods'].freeze
def message(used_method)