Skip to content

Commit

Permalink
Suppress RuboCop Metrics/MethodLength complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrunger committed Jul 17, 2024
1 parent 210ef01 commit 6295303
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fcom/querier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def initialize(options)

# rubocop:disable Metrics/CyclomaticComplexity
# rubocop:disable Metrics/PerceivedComplexity
# rubocop:disable Metrics/MethodLength
def query
expression_to_match = search_string
expression_to_match = Regexp.escape(expression_to_match).gsub('\\ ', ' ') unless regex_mode?
Expand Down Expand Up @@ -76,6 +77,7 @@ def query
end
end
end
# rubocop:enable Metrics/MethodLength
# rubocop:enable Metrics/PerceivedComplexity
# rubocop:enable Metrics/CyclomaticComplexity

Expand Down

0 comments on commit 6295303

Please sign in to comment.